From b1e022ef9b7d37cf9b27a6e7ee0b920cde689871 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Thu, 18 Dec 2025 12:40:53 +1000 Subject: [PATCH] rename variable --- .../Features/Debug_/Tab/SubTabs/ThreadsVariablesSubTab.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SharpIDE.Godot/Features/Debug_/Tab/SubTabs/ThreadsVariablesSubTab.cs b/src/SharpIDE.Godot/Features/Debug_/Tab/SubTabs/ThreadsVariablesSubTab.cs index 47a85fb..436e8aa 100644 --- a/src/SharpIDE.Godot/Features/Debug_/Tab/SubTabs/ThreadsVariablesSubTab.cs +++ b/src/SharpIDE.Godot/Features/Debug_/Tab/SubTabs/ThreadsVariablesSubTab.cs @@ -52,9 +52,9 @@ public partial class ThreadsVariablesSubTab : Control var variables = await _runService.GetVariablesForVariablesReference(variablesReferenceId); await this.InvokeAsync(() => { - var firstChild = item.GetFirstChild(); - Guard.Against.Null(firstChild); - firstChild.Visible = false; // Set to visible false rather than RemoveChild, so we don't have to Free + var placeholderLoadingChild = item.GetFirstChild(); + Guard.Against.Null(placeholderLoadingChild); + placeholderLoadingChild.Visible = false; // Set to visible false rather than RemoveChild, so we don't have to Free foreach (var variable in variables) { AddVariableToTreeItem(item, variable);