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() self.plotWaveformData()
def adjustFilterOptions(self): def adjustFilterOptions(self):
filteroptions = None filteroptions = self.getFilterOptions()
fstring = "Filter Options ({0})".format(self.getSeismicPhase()) fstring = "Filter Options ({0})".format(self.getSeismicPhase())
filterDlg = FilterOptionsDialog(titleString=fstring, filterDlg = FilterOptionsDialog(titleString=fstring,
parent=self, parent=self,
filterOptions=self.getFilterOptions()) filterOptions=filteroptions)
if filterDlg.exec_(): if filterDlg.exec_():
filteroptions = filterDlg.getFilterOptions() filteroptions = filterDlg.getFilterOptions()
self.setFilterOptions(filteroptions) self.setFilterOptions(filteroptions)