[bugfix] enable buttons when switching between P and S by hotkey

This commit is contained in:
marcel committed 2018-01-09 12:15:55 +01:00
1 parent fde0de26f2
commit fe81bd9719
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -1 +1 @@
acdc-dirty
fde0-dirty
+2
View File
@@ -1555,6 +1555,7 @@ class PickDlg(QDialog):
def p_phase_select(self, phase):
if not self.p_button.isChecked():
self.p_button.setEnabled(True)
self.p_button.setChecked(True)
self.p_button.setText(phase)
else:
@@ -1566,6 +1567,7 @@ class PickDlg(QDialog):
def s_phase_select(self, phase):
if not self.s_button.isChecked():
self.s_button.setEnabled(True)
self.s_button.setChecked(True)
self.s_button.setText(phase)
else: