mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
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:
parent
cc9cefbd5f
commit
568f3125f3
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ void GWidget::child_event(CChildEvent& event)
|
|||
else
|
||||
invalidate_layout();
|
||||
}
|
||||
update();
|
||||
}
|
||||
return CObject::child_event(event);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue