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

[22205] Ensure the check for IDE stacks is accurate #2094

Open
wants to merge 1 commit into
base: develop-9.6
Choose a base branch
from
Open
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
2 changes: 0 additions & 2 deletions Toolset/libraries/revcommonlibrary.livecodescript
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,6 @@ function revStackNameIsIDEStack pStackName
return true
else if pStackName begins with "com.livecode." then
return true
else if pStackName is among the lines of revInternal__ListLoadedLibraries() then
return true
else
return pStackName begins with "rev"
end if
Expand Down
1 change: 1 addition & 0 deletions Toolset/libraries/revinitialisationlibrary.livecodescript
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ command revInternal__LoadIfLibrary pLibrary
else
throw "not a library"
end if
set the _ideoverride of stack pLibrary to true
send tMsg to stack pLibrary
local tStackName
put the name of stack pLibrary into tStackName
Expand Down
1 change: 1 addition & 0 deletions notes/bugfix-22205.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Ensure user stacks that have library names, e.g. "drawing", "diff" etc are not treated as IDE stacks