diff --git a/Toolset/libraries/revcommonlibrary.livecodescript b/Toolset/libraries/revcommonlibrary.livecodescript index 7ac4f0dc42..3618627edd 100644 --- a/Toolset/libraries/revcommonlibrary.livecodescript +++ b/Toolset/libraries/revcommonlibrary.livecodescript @@ -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 diff --git a/Toolset/libraries/revinitialisationlibrary.livecodescript b/Toolset/libraries/revinitialisationlibrary.livecodescript index ee68643138..6423542beb 100644 --- a/Toolset/libraries/revinitialisationlibrary.livecodescript +++ b/Toolset/libraries/revinitialisationlibrary.livecodescript @@ -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 diff --git a/notes/bugfix-22205.md b/notes/bugfix-22205.md new file mode 100644 index 0000000000..9aa35715f0 --- /dev/null +++ b/notes/bugfix-22205.md @@ -0,0 +1 @@ +# Ensure user stacks that have library names, e.g. "drawing", "diff" etc are not treated as IDE stacks