[update] keep filter corresponding to phase when refreshing plot
This commit is contained in:
parent
1c51ed12fc
commit
5b5902a329
@ -1 +1 @@
|
|||||||
b191b-dirty
|
1c51-dirty
|
||||||
|
@ -2355,10 +2355,17 @@ class PickDlg(QDialog):
|
|||||||
if self.autoFilterAction.isChecked():
|
if self.autoFilterAction.isChecked():
|
||||||
self.filterActionP.setChecked(False)
|
self.filterActionP.setChecked(False)
|
||||||
self.filterActionS.setChecked(False)
|
self.filterActionS.setChecked(False)
|
||||||
data = self.getWFData().copy()
|
# data = self.getWFData().copy()
|
||||||
title = self.getStation()
|
# title = self.getStation()
|
||||||
filter = self.filterActionP.isChecked() or self.filterActionS.isChecked()
|
filter = False
|
||||||
self.plotWFData(filter=filter)
|
phase = None
|
||||||
|
if self.filterActionP.isChecked():
|
||||||
|
phase = 'P'
|
||||||
|
filter = True
|
||||||
|
if self.filterActionS.isChecked():
|
||||||
|
phase = 'S'
|
||||||
|
filter = True
|
||||||
|
self.plotWFData(phase=phase, filter=filter)
|
||||||
|
|
||||||
def resetZoom(self):
|
def resetZoom(self):
|
||||||
ax = self.multicompfig.axes[0]
|
ax = self.multicompfig.axes[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user