Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Toolset/libraries/revfrontscriptlibrary.livecodescript
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,14 @@ on closeStack
put revTargetStack() into tStackName

local tFileName

local tIsBuildingStandalone
put (there is a stack "revStandaloneProgress" and \
the mode of stack "revStandaloneProgress" > 0) into tIsBuildingStandalone

# OK-2008-08-05 : Bug 6562 - Bug where the user was being prompted to delete the home stack on startup,
# caused by revIDEStack returning true/false instead of empty/non-empty.
if tAllClosed and not revIDEStackNameIsIDEStack(tStackName) then
if not tIsBuildingStandalone and tAllClosed and not revIDEStackNameIsIDEStack(tStackName) then
put the effective fileName of gREVTargetStack into tFileName

# TH - 7689 improved wording of warning message
Expand Down
1 change: 1 addition & 0 deletions notes/bugfix-22014.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Ensure no dialog is shown about closing the last stack in file when building a standalone