diff --git a/Toolset/palettes/script editor/behaviors/revsevariablespanebehavior.livecodescript b/Toolset/palettes/script editor/behaviors/revsevariablespanebehavior.livecodescript index aab416aaee..f7c9fcf8c0 100644 --- a/Toolset/palettes/script editor/behaviors/revsevariablespanebehavior.livecodescript +++ b/Toolset/palettes/script editor/behaviors/revsevariablespanebehavior.livecodescript @@ -318,6 +318,8 @@ private on nodeCreateVisualizationObject pPathToNode revMetadataSet the name of stack tStack, "general", "visualizer", true -- generate variable visualizer UI + local tOldDefaultStack + put the defaultStack into tOldDefaultStack set the defaultStack to the short name of tStack reset the templateButton set the height of the templateButton to 23 @@ -340,6 +342,7 @@ private on nodeCreateVisualizationObject pPathToNode reset the templateButton reset the templateField set the lockMessages to tOldLock + set the defaultStack to tOldDefaultStack return tStack end nodeCreateVisualizationObject diff --git a/notes/bugfix-21100.md b/notes/bugfix-21100.md new file mode 100644 index 0000000000..4b626d82ca --- /dev/null +++ b/notes/bugfix-21100.md @@ -0,0 +1 @@ +# Ensure the defaultStack does not change after opening revVariableVisualizer stack