Fix for Issue6111.

This commit is contained in:
Ronald Oussoren 2009-05-26 18:41:00 +00:00
parent faf4149f72
commit 220a9fbde4

View File

@ -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')