Preferences/ToolGroupConfigurationDialog.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3020
542e97d4ecb3
child 3060
5883ce99ee12
diff -r 10516539f238 -r 0a02c433f52d Preferences/ToolGroupConfigurationDialog.py
--- a/Preferences/ToolGroupConfigurationDialog.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Preferences/ToolGroupConfigurationDialog.py	Fri Nov 01 15:48:48 2013 +0100
@@ -58,14 +58,16 @@
         groupName = self.nameEdit.text()
         
         if not groupName:
-            E5MessageBox.critical(self,
+            E5MessageBox.critical(
+                self,
                 self.trUtf8("Add tool group entry"),
                 self.trUtf8("You have to give a name for the group to add."))
             return
         
         if len(self.groupsList.findItems(
                 groupName, Qt.MatchFlags(Qt.MatchExactly))):
-            E5MessageBox.critical(self,
+            E5MessageBox.critical(
+                self,
                 self.trUtf8("Add tool group entry"),
                 self.trUtf8("An entry for the group name {0} already exists.")\
                     .format(groupName))
@@ -86,14 +88,16 @@
         groupName = self.nameEdit.text()
         
         if not groupName:
-            E5MessageBox.critical(self,
+            E5MessageBox.critical(
+                self,
                 self.trUtf8("Add tool group entry"),
                 self.trUtf8("You have to give a name for the group to add."))
             return
         
         if len(self.groupsList.findItems(
                 groupName, Qt.MatchFlags(Qt.MatchExactly))):
-            E5MessageBox.critical(self,
+            E5MessageBox.critical(
+                self,
                 self.trUtf8("Add tool group entry"),
                 self.trUtf8("An entry for the group name {0} already exists.")\
                     .format(groupName))
@@ -111,7 +115,8 @@
         if row < 0:
             return
         
-        res = E5MessageBox.yesNo(self,
+        res = E5MessageBox.yesNo(
+            self,
             self.trUtf8("Delete tool group entry"),
             self.trUtf8("""<p>Do you really want to delete the tool group"""
                         """ <b>"{0}"</b>?</p>""")\

eric ide

mercurial