Update ProblemsPanel.cs

This commit is contained in:
Matt Parker
2025-09-12 18:12:16 +10:00
parent 1b2ebcb1e8
commit 598331cc3b

View File

@@ -25,6 +25,7 @@ public partial class ProblemsPanel : Control
_projects.AddRange(s!.AllProjects);
});
_vBoxContainer = GetNode<VBoxContainer>("ScrollContainer/VBoxContainer");
_vBoxContainer.GetChildren().ToList().ForEach(c => c.QueueFree());
_vBoxContainer.BindChildren(_projects, _problemsPanelProjectEntryScene);
}
}