Preferences/ToolGroupConfigurationDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 3010
befeff46ec0f
child 3058
0a02c433f52d
diff -r 9986ec0e559a -r 10516539f238 Preferences/ToolGroupConfigurationDialog.py
--- a/Preferences/ToolGroupConfigurationDialog.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/Preferences/ToolGroupConfigurationDialog.py	Fri Oct 18 23:00:41 2013 +0200
@@ -63,7 +63,8 @@
                 self.trUtf8("You have to give a name for the group to add."))
             return
         
-        if len(self.groupsList.findItems(groupName, Qt.MatchFlags(Qt.MatchExactly))):
+        if len(self.groupsList.findItems(
+                groupName, Qt.MatchFlags(Qt.MatchExactly))):
             E5MessageBox.critical(self,
                 self.trUtf8("Add tool group entry"),
                 self.trUtf8("An entry for the group name {0} already exists.")\
@@ -90,7 +91,8 @@
                 self.trUtf8("You have to give a name for the group to add."))
             return
         
-        if len(self.groupsList.findItems(groupName, Qt.MatchFlags(Qt.MatchExactly))):
+        if len(self.groupsList.findItems(
+                groupName, Qt.MatchFlags(Qt.MatchExactly))):
             E5MessageBox.critical(self,
                 self.trUtf8("Add tool group entry"),
                 self.trUtf8("An entry for the group name {0} already exists.")\

eric ide

mercurial