Plugins/PluginWizardE5MessageBox.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3020
542e97d4ecb3
child 3060
5883ce99ee12
--- a/Plugins/PluginWizardE5MessageBox.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Plugins/PluginWizardE5MessageBox.py	Fri Nov 01 15:48:48 2013 +0100
@@ -69,7 +69,8 @@
         """
         Private method to initialize the action.
         """
-        self.action = E5Action(self.trUtf8('E5MessageBox Wizard'),
+        self.action = E5Action(
+            self.trUtf8('E5MessageBox Wizard'),
              self.trUtf8('&E5MessageBox Wizard...'), 0, 0, self,
              'wizards_e5messagebox')
         self.action.setStatusTip(self.trUtf8('E5MessageBox Wizard'))
@@ -119,9 +120,10 @@
         editor = e5App().getObject("ViewManager").activeWindow()
         
         if editor == None:
-                E5MessageBox.critical(self.__ui,
-                self.trUtf8('No current editor'),
-                self.trUtf8('Please open or create a file first.'))
+                E5MessageBox.critical(
+                    self.__ui,
+                    self.trUtf8('No current editor'),
+                    self.trUtf8('Please open or create a file first.'))
         else:
             code, ok = self.__callForm(editor)
             if ok:

eric ide

mercurial