eric6/Preferences/ToolGroupConfigurationDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
diff -r 27f636beebad -r 2c730d5fd177 eric6/Preferences/ToolGroupConfigurationDialog.py
--- a/eric6/Preferences/ToolGroupConfigurationDialog.py	Mon Mar 01 17:48:43 2021 +0100
+++ b/eric6/Preferences/ToolGroupConfigurationDialog.py	Tue Mar 02 17:17:09 2021 +0100
@@ -63,7 +63,7 @@
             return
         
         if len(self.groupsList.findItems(
-                groupName, Qt.MatchFlags(Qt.MatchExactly))):
+                groupName, Qt.MatchFlags(Qt.MatchFlag.MatchExactly))):
             E5MessageBox.critical(
                 self,
                 self.tr("Add tool group entry"),
@@ -93,7 +93,7 @@
             return
         
         if len(self.groupsList.findItems(
-                groupName, Qt.MatchFlags(Qt.MatchExactly))):
+                groupName, Qt.MatchFlags(Qt.MatchFlag.MatchExactly))):
             E5MessageBox.critical(
                 self,
                 self.tr("Add tool group entry"),

eric ide

mercurial