summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2019-11-07 12:44:20 +0100
committerDave Davenport <qball@gmpclient.org>2019-11-07 12:44:20 +0100
commiteb5c4bfdcc1536d7b4e256b56603f9389037ee55 (patch)
treeac23e13d8454a92fdebedf6ff454a2d81b45405b
parentc1378e4c6060acb53ff9743839f5ee631256c17f (diff)
[Box] Fix update not propagating to parent.
-rw-r--r--source/widgets/box.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/widgets/box.c b/source/widgets/box.c
index a56c0b77..2f6c1c72 100644
--- a/source/widgets/box.c
+++ b/source/widgets/box.c
@@ -361,4 +361,7 @@ static void box_update ( widget *wid )
default:
hori_calculate_size ( b );
}
+ if ( wid->parent ) {
+ widget_update ( wid->parent );
+ }
}