[bugfix] tuneAutopicker not working without 'P' and 'S' in picks

This commit is contained in:
Marcel Paffrath 2018-03-05 17:49:40 +01:00
parent 39f9238a06
commit f9203d92e8
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
8dab-dirty
39f92-dirty

View File

@ -3087,7 +3087,7 @@ class TuneAutopicker(QWidget):
def plot_manual_picks_to_figs(self):
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
for plotitem in self._manual_pick_plots:
self.clear_plotitem(plotitem)