give variable declaration a sense

This commit is contained in:
Sebastian Wehling-Benatelli 2015-07-07 10:47:55 +02:00
parent 5507a22865
commit a8fe4b7419

View File

@ -438,11 +438,11 @@ class MainWindow(QMainWindow):
self.plotWaveformData()
def adjustFilterOptions(self):
filteroptions = None
filteroptions = self.getFilterOptions()
fstring = "Filter Options ({0})".format(self.getSeismicPhase())
filterDlg = FilterOptionsDialog(titleString=fstring,
parent=self,
filterOptions=self.getFilterOptions())
filterOptions=filteroptions)
if filterDlg.exec_():
filteroptions = filterDlg.getFilterOptions()
self.setFilterOptions(filteroptions)