eric6/E5Gui/E5ComboSelectionDialog.py

changeset 8143
2c730d5fd177
parent 8038
73ec029d4107
child 8218
7c09585bd960
--- 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):
         """

eric ide

mercurial