From 534ca653e54f417f413a65a9eacd71eb12c51326 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 25 Jul 2020 08:25:16 +0300 Subject: Basic navigation history; Back and Forward are working --- src/ui/widget.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/widget.c') diff --git a/src/ui/widget.c b/src/ui/widget.c index 86d2e195..69509e33 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c @@ -74,6 +74,7 @@ void destroy_Widget(iWidget *d) { rootData_.pendingDestruction = new_PtrSet(); } insert_PtrSet(rootData_.pendingDestruction, d); + postRefresh_App(); } void setId_Widget(iWidget *d, const char *id) { @@ -449,6 +450,7 @@ iAny *removeChild_Widget(iWidget *d, iAnyObject *child) { } iAssert(found); ((iWidget *) child)->parent = NULL; + postRefresh_App(); return child; } -- cgit v1.2.3