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

Commit 2aaa189

Browse files
committed
[22014] Don't show dialog about closing the last stack in file
when building a standalone
1 parent 4c964c9 commit 2aaa189

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Toolset/libraries/revfrontscriptlibrary.livecodescript

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,14 @@ on closeStack
393393
put revTargetStack() into tStackName
394394

395395
local tFileName
396+
397+
local tIsBuildingStandalone
398+
put (there is a stack "revStandaloneProgress" and \
399+
the mode of stack "revStandaloneProgress" > 0) into tIsBuildingStandalone
400+
396401
# OK-2008-08-05 : Bug 6562 - Bug where the user was being prompted to delete the home stack on startup,
397402
# caused by revIDEStack returning true/false instead of empty/non-empty.
398-
if tAllClosed and not revIDEStackNameIsIDEStack(tStackName) then
403+
if not tIsBuildingStandalone and tAllClosed and not revIDEStackNameIsIDEStack(tStackName) then
399404
put the effective fileName of gREVTargetStack into tFileName
400405

401406
# TH - 7689 improved wording of warning message

notes/bugfix-22014.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ensure no dialog is shown about closing the last stack in file when building a standalone

0 commit comments

Comments
 (0)