summaryrefslogtreecommitdiffstats
path: root/scene/gui/container.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/container.cpp')
-rw-r--r--scene/gui/container.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/container.cpp b/scene/gui/container.cpp
index c328022d4f..e867fceaf2 100644
--- a/scene/gui/container.cpp
+++ b/scene/gui/container.cpp
@@ -80,6 +80,7 @@ void Container::remove_child_notify(Node *p_child) {
void Container::_sort_children() {
if (!is_inside_tree()) {
+ pending_sort = false;
return;
}