--- a/eric6/Plugins/PluginWizardDotDesktop.py Mon Mar 01 17:48:43 2021 +0100 +++ b/eric6/Plugins/PluginWizardDotDesktop.py Tue Mar 02 17:17:09 2021 +0100 @@ -132,7 +132,7 @@ DotDesktopWizardDialog ) dlg = DotDesktopWizardDialog(None) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: code = dlg.getCode() if code: editor.selectAll()