Keep sort order on refresh

This commit is contained in:
Jake Merdich 2017-03-05 15:02:34 -05:00
parent eb8a7a92c1
commit 5ea3c9b0aa

View File

@ -73,6 +73,8 @@ void GameList::ValidateEntry(const QModelIndex& item) {
}
void GameList::DonePopulating() {
auto header = tree_view->header();
item_model->sort(header->sortIndicatorSection(), header->sortIndicatorOrder());
tree_view->setEnabled(true);
}