diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-18 23:25:30 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-18 23:25:30 +0200 |
commit | 568f3125f3ecae6005874844df649a6000bb83cf (patch) | |
tree | 0a911759aa8609ef9a116aeb67fdb4179b0f3b49 /LibGUI/GWidget.cpp | |
parent | cc9cefbd5f627ca6f0a6c4f4fc9c4d3c8af21239 (diff) | |
download | serenity-568f3125f3ecae6005874844df649a6000bb83cf.zip |
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.
Diffstat (limited to 'LibGUI/GWidget.cpp')
-rw-r--r-- | LibGUI/GWidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LibGUI/GWidget.cpp b/LibGUI/GWidget.cpp index 139d3d8ea2..901b2f5d6a 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); } |