summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/outwin.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/outwin.py')
-rw-r--r--Lib/idlelib/outwin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/outwin.py b/Lib/idlelib/outwin.py
index e962142..f6361eb 100644
--- a/Lib/idlelib/outwin.py
+++ b/Lib/idlelib/outwin.py
@@ -78,6 +78,8 @@ class OutputWindow(EditorWindow):
EditorWindow.__init__(self, *args)
self.text.bind("<<goto-file-line>>", self.goto_file_line)
self.text.unbind("<<toggle-code-context>>")
+ self.menudict['options'].entryconfig('*Code Context',
+ state='disabled')
# Customize EditorWindow
def ispythonsource(self, filename):