diff --git a/PyLoT.py b/PyLoT.py index fbdc303b..a53dadc5 100755 --- a/PyLoT.py +++ b/PyLoT.py @@ -1816,6 +1816,7 @@ class MainWindow(QMainWindow): kwargs = self.getFilterOptions()[self.getSeismicPhase()].parseFilterOptions() self.pushFilterWF(kwargs) self.plotWaveformDataThread() + return True def checkFilterOptions(self): fstring = "Filter Options" diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index 8d6b1403..b7c866b9 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -a76d-dirty +8d6de0-dirty diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index e31dc46b..56b6c2a6 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -1547,7 +1547,14 @@ class PickDlg(QDialog): filterMenu.addAction(filterOptionsAction) def filterOptions(self): - self.orig_parent.adjustFilterOptions() + if self.orig_parent.adjustFilterOptions(): + phase = None + if self.filterActionP.isChecked(): + phase = 'P' + elif self.filterActionS.isChecked(): + phase = 'S' + if phase: + self.plotWFData(phase=phase, filter=True) def disable_ar_buttons(self): self.enable_ar_buttons(False)