Commit 220a9fbd authored by Ronald Oussoren's avatar Ronald Oussoren

Fix for Issue6111.

parent faf4149f
......@@ -82,6 +82,12 @@ def overrideRootMenu(root, flist):
def config_dialog(event=None):
from idlelib import configDialog
# Ensure that the root object has an instance_dict attribute,
# mirrors code in EditorWindow (although that sets the attribute
# on an EditorWindow instance that is then passed as the first
# argument to ConfigDialog)
root.instance_dict = flist.inversedict
configDialog.ConfigDialog(root, 'Settings')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment