115 Private method to handle the wizards action. |
115 Private method to handle the wizards action. |
116 """ |
116 """ |
117 editor = e5App().getObject("ViewManager").activeWindow() |
117 editor = e5App().getObject("ViewManager").activeWindow() |
118 |
118 |
119 if editor == None: |
119 if editor == None: |
120 E5MessageBox.critical(self.__ui, |
120 E5MessageBox.critical( |
|
121 self.__ui, |
121 self.trUtf8('No current editor'), |
122 self.trUtf8('No current editor'), |
122 self.trUtf8('Please open or create a file first.')) |
123 self.trUtf8('Please open or create a file first.')) |
123 else: |
124 else: |
124 code, ok = self.__callForm(editor) |
125 code, ok = self.__callForm(editor) |
125 if ok: |
126 if ok: |