eric6/Plugins/PluginWizardQFileDialog.py

changeset 7759
51aa6c6b66f7
parent 7635
0cdead130a81
child 7780
41420f82c0ac
--- 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():

eric ide

mercurial