From 5e6173b35196dcb78e86c0bb1f344b68b15f0ae7 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Thu, 2 Jul 2015 10:36:33 +0200 Subject: [PATCH] [bugfix] fixes an issue where the zoom action is not reset when setting the initial pick --- pylot/core/util/widgets.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 53ee5cac..95ca9613 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -320,6 +320,8 @@ class PickDlg(QDialog): phase = self.selectPhase.currentText() self.updateCurrentLimits() if phase: + if self.zoomAction.isChecked(): + self.zoomAction.toggle() self.disconnectReleaseEvent() self.disconnectScrollEvent() self.disconnectMotionEvent()