From c7dc1481a14e9e62f15d0f2a7204209b144ddc71 Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 10 Jan 2018 16:59:34 +0100 Subject: [PATCH] [bugfix] wrong parent set for TuneAutoPicker --- pylot/RELEASE-VERSION | 2 +- pylot/core/util/widgets.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index d95f4865..b775f1a3 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -78d5e-dirty +0ebc-dirty diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 05c2d1e1..16ead10a 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -2759,7 +2759,7 @@ class TuneAutopicker(QWidget): metadata = self.parent().metadata event = self.get_current_event() filteroptions = self.parent().filteroptions - self.pickDlg = PickDlg(self, data=data.select(station=station), + self.pickDlg = PickDlg(self.parent(), data=data.select(station=station), station=station, parameter=self.parameter, picks=self.get_current_event_picks(station), autopicks=self.get_current_event_autopicks(station),