Plugins/PluginWizardE5MessageBox.py

changeset 3020
542e97d4ecb3
parent 3004
c4bf32c791d0
child 3034
7ce719013078
child 3058
0a02c433f52d
--- a/Plugins/PluginWizardE5MessageBox.py	Mon Oct 14 18:26:25 2013 +0200
+++ b/Plugins/PluginWizardE5MessageBox.py	Mon Oct 14 19:30:36 2013 +0200
@@ -67,7 +67,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'))
@@ -117,9 +118,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