There was an error while loading. Please reload this page.
1 parent faf4149 commit 220a9fbCopy full SHA for 220a9fb
1 file changed
Lib/idlelib/macosxSupport.py
@@ -82,6 +82,12 @@ def about_dialog(event=None):
82
83
def config_dialog(event=None):
84
from idlelib import configDialog
85
+
86
+ # Ensure that the root object has an instance_dict attribute,
87
+ # mirrors code in EditorWindow (although that sets the attribute
88
+ # on an EditorWindow instance that is then passed as the first
89
+ # argument to ConfigDialog)
90
+ root.instance_dict = flist.inversedict
91
configDialog.ConfigDialog(root, 'Settings')
92
93
0 commit comments