diff options
author | Just van Rossum <just@lettererror.com> | 1999-02-27 17:15:32 (GMT) |
---|---|---|
committer | Just van Rossum <just@lettererror.com> | 1999-02-27 17:15:32 (GMT) |
commit | 4798c4ef4df2739a144f9857d91a8f500ea10c86 (patch) | |
tree | 8bbab8144e19b22d5efc6e290f8c7d74c3a423c2 /Mac | |
parent | 6f0e55a019d6fad76c359b4c24fe837d9564bffa (diff) | |
download | cpython-4798c4ef4df2739a144f9857d91a8f500ea10c86.zip cpython-4798c4ef4df2739a144f9857d91a8f500ea10c86.tar.gz cpython-4798c4ef4df2739a144f9857d91a8f500ea10c86.tar.bz2 |
added kludge so edit menus work in W.ModalDialogs -- jvr
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Tools/IDE/Wapplication.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/Wapplication.py b/Mac/Tools/IDE/Wapplication.py index 554a265..3cfeb56 100644 --- a/Mac/Tools/IDE/Wapplication.py +++ b/Mac/Tools/IDE/Wapplication.py @@ -237,7 +237,7 @@ class Application(FrameWork.Application): for m in self.menubar.menus.values(): if onoff: m.menu.EnableItem(0) - else: + elif m.menu.GetMenuItemText(3) <> 'Cut': # ew... m.menu.DisableItem(0) MenuToolbox.DrawMenuBar() |