75 elif self.branch2Button.isChecked(): |
75 elif self.branch2Button.isChecked(): |
76 enabled = enabled and self.branch2Combo.currentText() != "" |
76 enabled = enabled and self.branch2Combo.currentText() != "" |
77 elif self.bookmark2Button.isChecked(): |
77 elif self.bookmark2Button.isChecked(): |
78 enabled = enabled and self.bookmark2Combo.currentText() != "" |
78 enabled = enabled and self.bookmark2Combo.currentText() != "" |
79 |
79 |
80 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enabled) |
80 self.buttonBox.button( |
|
81 QDialogButtonBox.StandardButton.Ok).setEnabled(enabled) |
81 |
82 |
82 @pyqtSlot(bool) |
83 @pyqtSlot(bool) |
83 def on_id1Button_toggled(self, checked): |
84 def on_id1Button_toggled(self, checked): |
84 """ |
85 """ |
85 Private slot to handle changes of the ID1 select button. |
86 Private slot to handle changes of the ID1 select button. |