mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +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:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user