[update] apply new filter settings after selection
This commit is contained in:
parent
8d6de02afe
commit
78d5ee58b5
1
PyLoT.py
1
PyLoT.py
@ -1816,6 +1816,7 @@ class MainWindow(QMainWindow):
|
|||||||
kwargs = self.getFilterOptions()[self.getSeismicPhase()].parseFilterOptions()
|
kwargs = self.getFilterOptions()[self.getSeismicPhase()].parseFilterOptions()
|
||||||
self.pushFilterWF(kwargs)
|
self.pushFilterWF(kwargs)
|
||||||
self.plotWaveformDataThread()
|
self.plotWaveformDataThread()
|
||||||
|
return True
|
||||||
|
|
||||||
def checkFilterOptions(self):
|
def checkFilterOptions(self):
|
||||||
fstring = "Filter Options"
|
fstring = "Filter Options"
|
||||||
|
@ -1 +1 @@
|
|||||||
a76d-dirty
|
8d6de0-dirty
|
||||||
|
@ -1547,7 +1547,14 @@ class PickDlg(QDialog):
|
|||||||
filterMenu.addAction(filterOptionsAction)
|
filterMenu.addAction(filterOptionsAction)
|
||||||
|
|
||||||
def filterOptions(self):
|
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):
|
def disable_ar_buttons(self):
|
||||||
self.enable_ar_buttons(False)
|
self.enable_ar_buttons(False)
|
||||||
|
Loading…
Reference in New Issue
Block a user