Keep sort order on refresh
This commit is contained in:
@@ -73,6 +73,8 @@ void GameList::ValidateEntry(const QModelIndex& item) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void GameList::DonePopulating() {
|
void GameList::DonePopulating() {
|
||||||
|
auto header = tree_view->header();
|
||||||
|
item_model->sort(header->sortIndicatorSection(), header->sortIndicatorOrder());
|
||||||
tree_view->setEnabled(true);
|
tree_view->setEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user