mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:17:42 +00: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
|
else
|
||||||
invalidate_layout();
|
invalidate_layout();
|
||||||
}
|
}
|
||||||
|
update();
|
||||||
}
|
}
|
||||||
return CObject::child_event(event);
|
return CObject::child_event(event);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue