tried to get filter options popup working (not working yet)
This commit is contained in:
parent
ec1cc26b8c
commit
d7a4692afc
@ -239,8 +239,10 @@ class MainWindow(QMainWindow):
|
||||
filterDlg = FilterOptionsDialog(titleString=fstring,
|
||||
parent=self,
|
||||
filterOptions=self.getFilterOptions())
|
||||
filterDlg.show()
|
||||
filterDlg.closeEvent.connect(lambda: self.setFilterOptions(filterDlg.getFilterOptions()))
|
||||
if filterDlg.exec_():
|
||||
filterOptions = filterDlg.getFilterOptions()
|
||||
|
||||
self.setFilterOptions(filterOptions)
|
||||
|
||||
def getFilterOptions(self):
|
||||
return self.filteroptions
|
||||
|
Loading…
Reference in New Issue
Block a user