34 def __updateUI(self): |
34 def __updateUI(self): |
35 """ |
35 """ |
36 Private slot to update the UI. |
36 Private slot to update the UI. |
37 """ |
37 """ |
38 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled( |
38 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled( |
39 self.nameEdit.text() != "" and \ |
39 self.nameEdit.text() != "" and |
40 self.bookmarkCombo.currentText() != "" |
40 self.bookmarkCombo.currentText() != "" |
41 ) |
41 ) |
42 |
42 |
43 @pyqtSlot(str) |
43 @pyqtSlot(str) |
44 def on_nameEdit_textChanged(self, txt): |
44 def on_nameEdit_textChanged(self, txt): |