diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-25 08:25:16 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-25 08:25:16 +0300 |
commit | 534ca653e54f417f413a65a9eacd71eb12c51326 (patch) | |
tree | 8167ec4b72968cd03f88bdb464952ce048aef08e /src/ui/widget.c | |
parent | 62852e380d732402c10c80c77442f3079f66e16d (diff) |
Basic navigation history; Back and Forward are working
Diffstat (limited to 'src/ui/widget.c')
-rw-r--r-- | src/ui/widget.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { | |||
74 | rootData_.pendingDestruction = new_PtrSet(); | 74 | rootData_.pendingDestruction = new_PtrSet(); |
75 | } | 75 | } |
76 | insert_PtrSet(rootData_.pendingDestruction, d); | 76 | insert_PtrSet(rootData_.pendingDestruction, d); |
77 | postRefresh_App(); | ||
77 | } | 78 | } |
78 | 79 | ||
79 | void setId_Widget(iWidget *d, const char *id) { | 80 | void setId_Widget(iWidget *d, const char *id) { |
@@ -449,6 +450,7 @@ iAny *removeChild_Widget(iWidget *d, iAnyObject *child) { | |||
449 | } | 450 | } |
450 | iAssert(found); | 451 | iAssert(found); |
451 | ((iWidget *) child)->parent = NULL; | 452 | ((iWidget *) child)->parent = NULL; |
453 | postRefresh_App(); | ||
452 | return child; | 454 | return child; |
453 | } | 455 | } |
454 | 456 | ||