--- a/eric6/E5Gui/E5ComboSelectionDialog.py Mon Mar 01 17:48:43 2021 +0100 +++ b/eric6/E5Gui/E5ComboSelectionDialog.py Tue Mar 02 17:17:09 2021 +0100 @@ -53,7 +53,8 @@ @param txt text of the selected entry @type str """ - self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(bool(txt)) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Ok).setEnabled(bool(txt)) def getSelection(self): """