[bugfix] fixes an issue where the zoom action is not reset when setting the initial pick

This commit is contained in:
Sebastian Wehling-Benatelli 2015-07-02 10:36:33 +02:00
parent d05e9320e5
commit 5e6173b351

View File

@ -320,6 +320,8 @@ class PickDlg(QDialog):
phase = self.selectPhase.currentText() phase = self.selectPhase.currentText()
self.updateCurrentLimits() self.updateCurrentLimits()
if phase: if phase:
if self.zoomAction.isChecked():
self.zoomAction.toggle()
self.disconnectReleaseEvent() self.disconnectReleaseEvent()
self.disconnectScrollEvent() self.disconnectScrollEvent()
self.disconnectMotionEvent() self.disconnectMotionEvent()