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

Commit 3fde453

Browse files
Merge pull request #1944 from livecode/bugfix-21100
[Bug 21100] Ensure we restore the defaultstack when opening stack revVariableVisualizer
2 parents 66f45d9 + d5de9d8 commit 3fde453

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-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

notes/bugfix-21100.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ensure the defaultStack does not change after opening revVariableVisualizer stack

0 commit comments

Comments
 (0)