Plugins/PluginWizardQFileDialog.py

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

eric ide

mercurial