Sort categories ascending instead of leaving them in loaded order (#932)
This commit is contained in:
parent
e9469a5ca4
commit
1899f4e1ba
@ -321,6 +321,7 @@ void Courtroom::character_loading_finished()
|
|||||||
category->addChild(treeItem);
|
category->addChild(treeItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ui_char_list->sortItems(0, Qt::AscendingOrder);
|
||||||
|
|
||||||
connect(char_button, &AOCharButton::clicked,
|
connect(char_button, &AOCharButton::clicked,
|
||||||
[this, n]() { this->char_clicked(n); });
|
[this, n]() { this->char_clicked(n); });
|
||||||
|
Loading…
Reference in New Issue
Block a user