Commit 4798c4ef authored by Just van Rossum's avatar Just van Rossum

added kludge so edit menus work in W.ModalDialogs -- jvr

parent 6f0e55a0
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment