diff -r dd54d33d21d2 -r 51aa6c6b66f7 eric6/Plugins/PluginWizardQFileDialog.py --- a/eric6/Plugins/PluginWizardQFileDialog.py Mon Oct 05 19:51:55 2020 +0200 +++ b/eric6/Plugins/PluginWizardQFileDialog.py Tue Oct 06 17:52:44 2020 +0200 @@ -132,7 +132,7 @@ FileDialogWizardDialog ) dlg = FileDialogWizardDialog(variant, None) - if dlg.exec_() == QDialog.Accepted: + if dlg.exec() == QDialog.Accepted: line, index = editor.getCursorPosition() indLevel = editor.indentation(line) // editor.indentationWidth() if editor.indentationsUseTabs():