eric6/QScintilla/MarkupProviders/HyperlinkMarkupDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
48 48
49 def __updateOkButton(self): 49 def __updateOkButton(self):
50 """ 50 """
51 Private method to update the state of the OK button. 51 Private method to update the state of the OK button.
52 """ 52 """
53 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled( 53 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(
54 (bool(self.textEdit.text()) or self.__allowEmptyText) and 54 (bool(self.textEdit.text()) or self.__allowEmptyText) and
55 (bool(self.targetEdit.text()) or self.__allowEmptyTarget) 55 (bool(self.targetEdit.text()) or self.__allowEmptyTarget)
56 ) 56 )
57 57
58 @pyqtSlot(str) 58 @pyqtSlot(str)

eric ide

mercurial