--- a/eric6/QScintilla/MarkupProviders/HyperlinkMarkupDialog.py Mon Mar 01 17:48:43 2021 +0100 +++ b/eric6/QScintilla/MarkupProviders/HyperlinkMarkupDialog.py Tue Mar 02 17:17:09 2021 +0100 @@ -50,7 +50,7 @@ """ Private method to update the state of the OK button. """ - self.buttonBox.button(QDialogButtonBox.Ok).setEnabled( + self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled( (bool(self.textEdit.text()) or self.__allowEmptyText) and (bool(self.targetEdit.text()) or self.__allowEmptyTarget) )