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

Commit 623ae8e

Browse files
committed
[Bug 21222] Ensure File->Close is disabled when topstack=revMenubar
1 parent 4436800 commit 623ae8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

0 commit comments

Comments
 (0)