mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-20 06:24:17 +00:00
Sort game items after the list is populated
This commit is contained in:
parent
476dcb1915
commit
eb7527254f
1 changed files with 2 additions and 2 deletions
|
@ -417,6 +417,8 @@ void GameList::DonePopulating(QStringList watch_list) {
|
|||
if (children_total > 0) {
|
||||
search_field->setFocus();
|
||||
}
|
||||
item_model->sort(tree_view->header()->sortIndicatorSection(),
|
||||
tree_view->header()->sortIndicatorOrder());
|
||||
|
||||
emit PopulatingCompleted();
|
||||
}
|
||||
|
@ -641,8 +643,6 @@ void GameList::LoadInterfaceLayout() {
|
|||
// so make it as large as possible as default.
|
||||
header->resizeSection(COLUMN_NAME, header->width());
|
||||
}
|
||||
|
||||
item_model->sort(header->sortIndicatorSection(), header->sortIndicatorOrder());
|
||||
}
|
||||
|
||||
const QStringList GameList::supported_file_extensions = {"3ds", "3dsx", "elf", "axf",
|
||||
|
|
Loading…
Reference in a new issue