mirror of
https://github.com/RGBCube/serenity
synced 2025-05-29 06:55:07 +00:00
LibGUI: Always update() after changing AbstractView sort column/order
Otherwise we may end up with a stale appearance until something else causes it to repaint.
This commit is contained in:
parent
2cbe290930
commit
032f567422
1 changed files with 2 additions and 0 deletions
|
@ -408,6 +408,8 @@ void AbstractView::set_key_column_and_sort_order(int column, SortOrder sort_orde
|
|||
|
||||
if (model())
|
||||
model()->sort(column, sort_order);
|
||||
|
||||
update();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue