Update ProblemsPanel.cs
This commit is contained in:
@@ -25,6 +25,7 @@ public partial class ProblemsPanel : Control
|
|||||||
_projects.AddRange(s!.AllProjects);
|
_projects.AddRange(s!.AllProjects);
|
||||||
});
|
});
|
||||||
_vBoxContainer = GetNode<VBoxContainer>("ScrollContainer/VBoxContainer");
|
_vBoxContainer = GetNode<VBoxContainer>("ScrollContainer/VBoxContainer");
|
||||||
|
_vBoxContainer.GetChildren().ToList().ForEach(c => c.QueueFree());
|
||||||
_vBoxContainer.BindChildren(_projects, _problemsPanelProjectEntryScene);
|
_vBoxContainer.BindChildren(_projects, _problemsPanelProjectEntryScene);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user