66 enable and |
66 enable and |
67 (self.currentUserCheckBox.isChecked() or |
67 (self.currentUserCheckBox.isChecked() or |
68 self.userEdit.text() != "") |
68 self.userEdit.text() != "") |
69 ) |
69 ) |
70 |
70 |
71 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enable) |
71 self.buttonBox.button( |
|
72 QDialogButtonBox.StandardButton.Ok).setEnabled(enable) |
72 |
73 |
73 @pyqtSlot(str) |
74 @pyqtSlot(str) |
74 def on_nameEdit_textChanged(self, txt): |
75 def on_nameEdit_textChanged(self, txt): |
75 """ |
76 """ |
76 Private slot to handle changes of the patch name. |
77 Private slot to handle changes of the patch name. |