mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Put the 'File' menu on the menubar even when modal, so users can get
to the 'load palette' entry. Just don't put the quit button on there.
This commit is contained in:
parent
3f01c724fd
commit
6e7f6ea756
1 changed files with 3 additions and 4 deletions
|
@ -87,10 +87,9 @@ class PyncheWidget:
|
|||
#
|
||||
# Tie them all together
|
||||
#
|
||||
if not modal:
|
||||
menubar.add_cascade(label='File',
|
||||
menu=filemenu,
|
||||
underline=0)
|
||||
menubar.add_cascade(label='File',
|
||||
menu=filemenu,
|
||||
underline=0)
|
||||
menubar.add_cascade(label='View',
|
||||
menu=viewmenu,
|
||||
underline=0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue