commit | 7f7d5bf43873b13c21cff8ab452df3ebde3a39ce | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Tue May 21 17:00:20 2002 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Tue May 21 17:00:20 2002 +0000 |
tree | 96808a1a4f8f180ec5592b20903386930ca88506 | |
parent | f79f2f94d5f7e13e0d409d5c00f752280fd3d628 [diff] [blame] |
Patch 543222. Disable script bindings in shell window.
diff --git a/Tools/idle/ScriptBinding.py b/Tools/idle/ScriptBinding.py index 4071681..19a20b2 100644 --- a/Tools/idle/ScriptBinding.py +++ b/Tools/idle/ScriptBinding.py
@@ -51,6 +51,9 @@ ] def __init__(self, editwin): + if not editwin.runnable: + self.menudefs = [] + self.keydefs = {} self.editwin = editwin # Provide instance variables referenced by Debugger # XXX This should be done differently