mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
added kludge so edit menus work in W.ModalDialogs -- jvr
This commit is contained in:
parent
6f0e55a019
commit
4798c4ef4d
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue