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,
|
filterDlg = FilterOptionsDialog(titleString=fstring,
|
||||||
parent=self,
|
parent=self,
|
||||||
filterOptions=self.getFilterOptions())
|
filterOptions=self.getFilterOptions())
|
||||||
filterDlg.show()
|
if filterDlg.exec_():
|
||||||
filterDlg.closeEvent.connect(lambda: self.setFilterOptions(filterDlg.getFilterOptions()))
|
filterOptions = filterDlg.getFilterOptions()
|
||||||
|
|
||||||
|
self.setFilterOptions(filterOptions)
|
||||||
|
|
||||||
def getFilterOptions(self):
|
def getFilterOptions(self):
|
||||||
return self.filteroptions
|
return self.filteroptions
|
||||||
|
Loading…
Reference in New Issue
Block a user