Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e7f6ea

Browse files
committed
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.
1 parent 3f01c72 commit 6e7f6ea

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Tools/pynche/PyncheWidget.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,9 @@ def __init__(self, version, switchboard, master=None):
8787
#
8888
# Tie them all together
8989
#
90-
if not modal:
91-
menubar.add_cascade(label='File',
92-
menu=filemenu,
93-
underline=0)
90+
menubar.add_cascade(label='File',
91+
menu=filemenu,
92+
underline=0)
9493
menubar.add_cascade(label='View',
9594
menu=viewmenu,
9695
underline=0)

0 commit comments

Comments
 (0)