diff options
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 | ||