Plugins/PluginWizardDotDesktop.py

branch
maintenance
changeset 6826
c6dda2cbe081
parent 6735
31e263d49c04
equal deleted inserted replaced
6764:d14ddbfbbd36 6826:c6dda2cbe081
112 Private method to handle the wizards action. 112 Private method to handle the wizards action.
113 """ 113 """
114 editor = e5App().getObject("ViewManager").activeWindow() 114 editor = e5App().getObject("ViewManager").activeWindow()
115 115
116 if editor is None: 116 if editor is None:
117 E5MessageBox.critical( 117 E5MessageBox.critical(
118 self.__ui, 118 self.__ui,
119 self.tr('No current editor'), 119 self.tr('No current editor'),
120 self.tr('Please open or create a file first.')) 120 self.tr('Please open or create a file first.'))
121 else: 121 else:
122 if editor.text(): 122 if editor.text():
123 ok = E5MessageBox.yesNo( 123 ok = E5MessageBox.yesNo(
124 self.__ui, 124 self.__ui,
125 self.tr(".desktop Wizard"), 125 self.tr(".desktop Wizard"),

eric ide

mercurial