path: root/src/lib/elementary/elm_box.eo
diff options
authorMarcel Hollerbach <>2017-04-25 17:04:50 +0200
committerMarcel Hollerbach <>2017-04-25 21:38:54 +0200
commitb077058e44f3bec0c1f08ec74a0d6668ac2c952e (patch)
tree3b3c20b13aada832208424d4d0d8a3861022e1b5 /src/lib/elementary/elm_box.eo
parent69877a91af3eaf71993ffeb9840705702cc2c971 (diff)
elm_box/table: set the order directly when a container is registered
The following situation: - A Box in a naviframe, with n children. - All added children register to the focus graph with the box as parent, order gets set correctly. - Naviframe hides this item, so box property tree unfocusable gets set to true, it gets unregistered from the focus graph, even every single child gets unregistered. - The item gets shown - every child and the table are getting registered again. - Order is not set again, since the box does not get changed - Order of the children is mixed up. This should fix this case since the order is flushed every time the box gets registered.
Diffstat (limited to 'src/lib/elementary/elm_box.eo')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_box.eo b/src/lib/elementary/elm_box.eo
index 61eda1b..da0d399 100644
--- a/src/lib/elementary/elm_box.eo
+++ b/src/lib/elementary/elm_box.eo
@@ -295,6 +295,7 @@ class Elm.Box (Elm.Widget)
295 Elm.Widget.focus_next; 295 Elm.Widget.focus_next;
296 Elm.Widget.theme_apply; 296 Elm.Widget.theme_apply;
297 Elm.Widget.sub_object_del; 297 Elm.Widget.sub_object_del;
298 Elm.Widget.focus_register;
298 } 299 }
299 events { 300 events {
300 child,added; [[Called when child was added]] 301 child,added; [[Called when child was added]]