[bugfix] enable buttons when switching between P and S by hotkey
This commit is contained in:
parent
fde0de26f2
commit
fe81bd9719
@ -1 +1 @@
|
|||||||
acdc-dirty
|
fde0-dirty
|
||||||
|
@ -1555,6 +1555,7 @@ class PickDlg(QDialog):
|
|||||||
|
|
||||||
def p_phase_select(self, phase):
|
def p_phase_select(self, phase):
|
||||||
if not self.p_button.isChecked():
|
if not self.p_button.isChecked():
|
||||||
|
self.p_button.setEnabled(True)
|
||||||
self.p_button.setChecked(True)
|
self.p_button.setChecked(True)
|
||||||
self.p_button.setText(phase)
|
self.p_button.setText(phase)
|
||||||
else:
|
else:
|
||||||
@ -1566,6 +1567,7 @@ class PickDlg(QDialog):
|
|||||||
|
|
||||||
def s_phase_select(self, phase):
|
def s_phase_select(self, phase):
|
||||||
if not self.s_button.isChecked():
|
if not self.s_button.isChecked():
|
||||||
|
self.s_button.setEnabled(True)
|
||||||
self.s_button.setChecked(True)
|
self.s_button.setChecked(True)
|
||||||
self.s_button.setText(phase)
|
self.s_button.setText(phase)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user