From f4632ac1f5bee6b16b8f456e3a729e8030841a47 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 16 Jan 2018 16:10:47 +0100 Subject: [PATCH] [update] enable/disable comboboxes in pick mode --- pylot/RELEASE-VERSION | 2 +- pylot/core/util/widgets.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index d888ad24..6ddcab46 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -ec39-dirty +c520-dirty diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 531d7d3c..4de95be1 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -1765,6 +1765,8 @@ class PickDlg(QDialog): def activatePicking(self): self.leave_rename_phase() self.renamePhaseAction.setEnabled(False) + self.compareChannel.setEnabled(False) + self.scaleChannel.setEnabled(False) phase = self.currentPhase phaseID = self.getPhaseID(phase) if not phaseID: @@ -1796,6 +1798,8 @@ class PickDlg(QDialog): self.disconnectPressEvent() self.multicompfig.connectEvents() self.renamePhaseAction.setEnabled(True) + self.compareChannel.setEnabled(True) + self.scaleChannel.setEnabled(True) self.connect_pick_delete() self.draw()