Plugins/PluginWizardQRegularExpression.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3034
7ce719013078
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
118 """ 118 """
119 Private method to handle the wizards action. 119 Private method to handle the wizards action.
120 """ 120 """
121 editor = e5App().getObject("ViewManager").activeWindow() 121 editor = e5App().getObject("ViewManager").activeWindow()
122 122
123 if editor == None: 123 if editor is None:
124 E5MessageBox.critical( 124 E5MessageBox.critical(
125 self.__ui, 125 self.__ui,
126 self.trUtf8('No current editor'), 126 self.trUtf8('No current editor'),
127 self.trUtf8('Please open or create a file first.')) 127 self.trUtf8('Please open or create a file first.'))
128 else: 128 else:

eric ide

mercurial