From 5ea3c9b0aa551b0cafa7cc030c03925dd69096ec Mon Sep 17 00:00:00 2001 From: Jake Merdich Date: Sun, 5 Mar 2017 15:02:34 -0500 Subject: [PATCH] Keep sort order on refresh --- src/citra_qt/game_list.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp index a9ec9e830..f630a1ec2 100644 --- a/src/citra_qt/game_list.cpp +++ b/src/citra_qt/game_list.cpp @@ -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); }