[bugfix] tuneAutopicker not working without 'P' and 'S' in picks
This commit is contained in:
parent
39f9238a06
commit
f9203d92e8
@ -1 +1 @@
|
|||||||
8dab-dirty
|
39f92-dirty
|
||||||
|
@ -3087,7 +3087,7 @@ class TuneAutopicker(QWidget):
|
|||||||
|
|
||||||
def plot_manual_picks_to_figs(self):
|
def plot_manual_picks_to_figs(self):
|
||||||
picks = self.get_current_event_picks(self.get_current_station())
|
picks = self.get_current_event_picks(self.get_current_station())
|
||||||
if not picks:
|
if not picks or not 'P' in picks or not 'S' in picks:
|
||||||
return
|
return
|
||||||
for plotitem in self._manual_pick_plots:
|
for plotitem in self._manual_pick_plots:
|
||||||
self.clear_plotitem(plotitem)
|
self.clear_plotitem(plotitem)
|
||||||
|
Loading…
Reference in New Issue
Block a user