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
22 changes: 14 additions & 8 deletions Toolset/libraries/revidelibrary.8.livecodescript
Original file line number Diff line number Diff line change
Expand Up @@ -6516,14 +6516,7 @@ on revIDETogglePaletteView
unlock screen
end revIDETogglePaletteView

on revIDEPopupContextualMenu pTargets
dispatch "revMenubarPopupContextualMenu" to stack revIDEPaletteToStackName("menubar") with pTargets
end revIDEPopupContextualMenu

local sPluginsA
on revIDEUpdatePlugins
global gREVStartupList, gREVShutdownlist, gREVDontLoadMenus

function revIDEGetAllPlugins
local tUserPlugins
put revAbsoluteFolderListing(revEnvironmentUserPluginsPath()) into tUserPlugins

Expand All @@ -6539,6 +6532,19 @@ on revIDEUpdatePlugins
if tDevelopmentPlugins is not empty then
put revCombineFilePaths(tFinal,tDevelopmentPlugins) into tFinal
end if
return tFinal
end revIDEGetAllPlugins

on revIDEPopupContextualMenu pTargets
dispatch "revMenubarPopupContextualMenu" to stack revIDEPaletteToStackName("menubar") with pTargets
end revIDEPopupContextualMenu

local sPluginsA
on revIDEUpdatePlugins
global gREVStartupList, gREVShutdownlist, gREVDontLoadMenus

local tFinal
put revIDEGetAllPlugins() into tFinal

put empty into gREVStartupList
put empty into gREVShutdownList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,14 @@ on ideOpenStack pTarget
exit ideOpenStack
end if

if the short name of ideStackOfObject(pTarget) is not the short name of me then
local tTargetStack
put the short name of ideStackOfObject(pTarget) into tTargetStack

local tPlugins
put revIDEGetAllPlugins() into tPlugins

if tTargetStack is not the short name of me and \
the filename of stack tTargetStack is not among the lines of tPlugins then
startCenterClose
end if
end ideOpenStack
Expand Down
1 change: 1 addition & 0 deletions notes/bugfix-17683.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Ensure Start Center stays open when a Plugin opens on startup