From 999cd0294889e5eecd61df18a697d2c55ed6c0d6 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 16 Oct 2019 14:15:34 +0300 Subject: [PATCH] Emit rebuild_needed from a container when a child is added Otherwise the flag won't properly propagate if the container itself is already parented. --- source/container.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/container.cpp b/source/container.cpp index 28e0e2f..6e1a356 100644 --- a/source/container.cpp +++ b/source/container.cpp @@ -35,6 +35,7 @@ void Container::add(Widget &wdg) if(wdg.get_animation_interval()) check_animation_interval(); children_rebuild_needed = true; + signal_rebuild_needed.emit(); on_child_added(wdg); } -- 2.43.0