From 568f3125f3ecae6005874844df649a6000bb83cf Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 18 Apr 2019 23:25:30 +0200 Subject: [PATCH] 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. --- LibGUI/GWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/LibGUI/GWidget.cpp b/LibGUI/GWidget.cpp index 139d3d8ea27..901b2f5d6af 100644 --- a/LibGUI/GWidget.cpp +++ b/LibGUI/GWidget.cpp @@ -35,6 +35,7 @@ void GWidget::child_event(CChildEvent& event) else invalidate_layout(); } + update(); } return CObject::child_event(event); }