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
3 changes: 2 additions & 1 deletion Toolset/libraries/revideextensionlibrary.livecodescript
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,8 @@ private command __revIDELCBExtensionLoad pID, pFolder, pVersion, pStatus, \
put pAdditionalInfoA["support_files"] into tSupportFiles
local tLoadOnStartup
if pError is empty then
put revIDEExtensionGetLoadOnStartup(pID) into tLoadOnStartup
put pAdditionalInfoA["_ide"] is true or \
revIDEExtensionGetLoadOnStartup(pID) into tLoadOnStartup
end if
if not pIsStartup or tLoadOnStartup is not false then
__LoadExtension tCacheIndex, "lcb", pSourceFile, pFolder, pStatus, pError
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,14 @@ private function __MenuActionsForRow pDataA
put tShow after tActions
end if

local tLoadOnStartup
put "Load on startup/|Toggle Load" & return into tLoadOnStartup
if revIDEExtensionGetLoadOnStartup(pDataA["name"]) is not false then
put "!c" before tLoadOnStartup
if not pDataA["_ide"] then
local tLoadOnStartup
put "Load on startup/|Toggle Load" & return into tLoadOnStartup
if revIDEExtensionGetLoadOnStartup(pDataA["name"]) is not false then
put "!c" before tLoadOnStartup
end if
put tLoadOnStartup after tActions
end if
put tLoadOnStartup after tActions

local tSampleList
if pDataA["samples"] is not empty then
Expand Down
1 change: 1 addition & 0 deletions notes/bugfix-21095.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Ensure extensions required by the IDE load on startup