mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03: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
Notes:
sideshowbarker
2024-07-19 03:12:11 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/032f567422a
@ -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…
Reference in New Issue
Block a user