Sort categories ascending instead of leaving them in loaded order (#932)

This commit is contained in:
in1tiate 2024-02-08 12:22:02 -06:00 committed by GitHub
parent e9469a5ca4
commit 1899f4e1ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -320,7 +320,8 @@ void Courtroom::character_loading_finished()
ui_char_list->insertTopLevelItem(0, category);
category->addChild(treeItem);
}
ui_char_list->sortItems(0, Qt::AscendingOrder);
connect(char_button, &AOCharButton::clicked,
[this, n]() { this->char_clicked(n); });