[update] enable/disable comboboxes in pick mode
This commit is contained in:
parent
c520c7c212
commit
f4632ac1f5
@ -1 +1 @@
|
|||||||
ec39-dirty
|
c520-dirty
|
||||||
|
@ -1765,6 +1765,8 @@ class PickDlg(QDialog):
|
|||||||
def activatePicking(self):
|
def activatePicking(self):
|
||||||
self.leave_rename_phase()
|
self.leave_rename_phase()
|
||||||
self.renamePhaseAction.setEnabled(False)
|
self.renamePhaseAction.setEnabled(False)
|
||||||
|
self.compareChannel.setEnabled(False)
|
||||||
|
self.scaleChannel.setEnabled(False)
|
||||||
phase = self.currentPhase
|
phase = self.currentPhase
|
||||||
phaseID = self.getPhaseID(phase)
|
phaseID = self.getPhaseID(phase)
|
||||||
if not phaseID:
|
if not phaseID:
|
||||||
@ -1796,6 +1798,8 @@ class PickDlg(QDialog):
|
|||||||
self.disconnectPressEvent()
|
self.disconnectPressEvent()
|
||||||
self.multicompfig.connectEvents()
|
self.multicompfig.connectEvents()
|
||||||
self.renamePhaseAction.setEnabled(True)
|
self.renamePhaseAction.setEnabled(True)
|
||||||
|
self.compareChannel.setEnabled(True)
|
||||||
|
self.scaleChannel.setEnabled(True)
|
||||||
self.connect_pick_delete()
|
self.connect_pick_delete()
|
||||||
self.draw()
|
self.draw()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user