summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-05-26 18:41:00 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2009-05-26 18:41:00 (GMT)
commit220a9fbde44bb4d3d302a6ef8e1133b5209ec9f9 (patch)
tree6a609f9e4d461519e2079978a8f29a653ed25207 /Lib
parentfaf4149f72575a826f65f7e0747254088195ef9b (diff)
downloadcpython-220a9fbde44bb4d3d302a6ef8e1133b5209ec9f9.zip
cpython-220a9fbde44bb4d3d302a6ef8e1133b5209ec9f9.tar.gz
cpython-220a9fbde44bb4d3d302a6ef8e1133b5209ec9f9.tar.bz2
Fix for Issue6111.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/macosxSupport.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/idlelib/macosxSupport.py b/Lib/idlelib/macosxSupport.py
index e759157..b23221e 100644
--- a/Lib/idlelib/macosxSupport.py
+++ b/Lib/idlelib/macosxSupport.py
@@ -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')