1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 10:15:07 +00:00

GTreeView: Always repaint in response to did_update_model()

This could definitely be more efficient, but this is more correct than
doing nothing at all. :^)
This commit is contained in:
Andreas Kling 2019-11-11 19:11:55 +01:00
parent 71823a6c49
commit 3ef287eb9f

View file

@ -244,6 +244,7 @@ void GTreeView::did_update_model()
{ {
GAbstractView::did_update_model(); GAbstractView::did_update_model();
update_content_size(); update_content_size();
update();
} }
void GTreeView::did_update_selection() void GTreeView::did_update_selection()