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

Commit 387e030

Browse files
committed
[Bug 21100] Ensure we restore the defaultstack
when opening stack revVariableVisualizer
1 parent ee4b79a commit 387e030

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Toolset/palettes/script editor/behaviors/revsevariablespanebehavior.livecodescript

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,8 @@ private on nodeCreateVisualizationObject pPathToNode
318318
revMetadataSet the name of stack tStack, "general", "visualizer", true
319319

320320
-- generate variable visualizer UI
321+
local tOldDefaultStack
322+
put the defaultStack into tOldDefaultStack
321323
set the defaultStack to the short name of tStack
322324
reset the templateButton
323325
set the height of the templateButton to 23
@@ -340,6 +342,7 @@ private on nodeCreateVisualizationObject pPathToNode
340342
reset the templateButton
341343
reset the templateField
342344
set the lockMessages to tOldLock
345+
set the defaultStack to tOldDefaultStack
343346

344347
return tStack
345348
end nodeCreateVisualizationObject

0 commit comments

Comments
 (0)