Plugins/PluginWizardQMessageBox.py

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

eric ide

mercurial