Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit a039f21

Browse files
Merge pull request #1972 from livecode/bugfix-21222
[Bug 21222] Ensure File->Close is disabled when topstack=revMenubar
2 parents 4cae6ff + 8afe4f4 commit a039f21

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Toolset/palettes/menubar/revmenubar.livecodescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ private function revMenubarFileMenu pContext
13861386
put "(Open Recent File" & return after tFile
13871387
end if
13881388

1389-
put enableMenuItem("&Close/W", the mode of the topStack <= 3) & return after tFile
1389+
put enableMenuItem("&Close/W", the mode of the topStack <= 3 and the short name of the topstack is not "revMenubar") & return after tFile
13901390
put enableMenuItem("Close and Remove From Memor&y", tCanSaveStack) & return after tFile
13911391
put "-" & return after tFile
13921392

notes/bugfix-21222.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ensure File -> Close option is disabled when the topstack is stack revMenubar

0 commit comments

Comments
 (0)