From 4798c4ef4df2739a144f9857d91a8f500ea10c86 Mon Sep 17 00:00:00 2001
From: Just van Rossum <just@lettererror.com>
Date: Sat, 27 Feb 1999 17:15:32 +0000
Subject: added kludge so edit menus work in W.ModalDialogs -- jvr

---
 Mac/Tools/IDE/Wapplication.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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()
 	
-- 
cgit v0.12

