--- a/src/eric7/Plugins/PluginWizardEricPlugin.py Thu May 25 11:12:05 2023 +0200 +++ b/src/eric7/Plugins/PluginWizardEricPlugin.py Thu May 25 19:51:47 2023 +0200 @@ -114,11 +114,10 @@ if menu: menu.addAction(self.__action) - def __callForm(self, editor): + def __callForm(self): """ Private method to display a dialog and get the code. - @param editor reference to the current editor @return generated code (string), the plug-in package name (string) and a flag indicating success (boolean) """ @@ -145,7 +144,7 @@ self.tr("Please open or create a file first."), ) else: - code, packageName, ok = self.__callForm(editor) + code, packageName, ok = self.__callForm() if ok: line, index = editor.getCursorPosition() # It should be done on this way to allow undo