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