GWidget: Always update self after a child is removed.

We could probably tighten the amount of invalidation we do here, but this is
definitely more correct than not invalidating at all.
This commit is contained in:
Andreas Kling 2019-04-18 23:25:30 +02:00
parent cc9cefbd5f
commit 568f3125f3
Notes: sideshowbarker 2024-07-19 14:39:39 +09:00

View file

@ -35,6 +35,7 @@ void GWidget::child_event(CChildEvent& event)
else
invalidate_layout();
}
update();
}
return CObject::child_event(event);
}