diff -r 6bd4923cc47f -r 65920ee523b0 PluginWizardDataUriEncoder.py --- a/PluginWizardDataUriEncoder.py Sat Dec 23 19:30:14 2023 +0100 +++ b/PluginWizardDataUriEncoder.py Sat Oct 26 16:37:50 2024 +0200 @@ -17,20 +17,23 @@ from eric7.EricWidgets.EricApplication import ericApp # Start-of-Header -name = "Base64 Data URI Encoder Wizard Plug-in" -author = "Detlev Offenbach <detlev@die-offenbachs.de>" -autoactivate = True -deactivateable = True -version = "10.2.0" -className = "WizardDataUriEncoderPlugin" -packageName = "WizardDataUriEncoder" -shortDescription = "Wizard for the creation of code for a base64 data URI." -longDescription = ( - """This plug-in implements a wizard to generate code for""" - """ base64 encoded data URIs.""" -) -needsRestart = False -pyqtApi = 2 +__header__ = { + "name": "Base64 Data URI Encoder Wizard Plug-in", + "author": "Detlev Offenbach <detlev@die-offenbachs.de>", + "autoactivate": True, + "deactivateable": True, + "version": "10.2.1", + "className": "WizardDataUriEncoderPlugin", + "packageName": "WizardDataUriEncoder", + "shortDescription": "Wizard for the creation of code for a base64 data URI.", + "longDescription": ( + """This plug-in implements a wizard to generate code for""" + """ base64 encoded data URIs.""" + ), + "needsRestart": False, + "hasCompiledForms": True, + "pyqtApi": 2, +} # End-of-Header error = "" @@ -149,7 +152,7 @@ self.tr("Please open or create a file first."), ) else: - dlg = DataUriEncoderWizardDialog(None) + dlg = DataUriEncoderWizardDialog(parent=self.__ui) if dlg.exec() == QDialog.DialogCode.Accepted: code = dlg.getCode() if code: