Skip to content

Commit

Permalink
Sort categories ascending instead of leaving them in loaded order
Browse files Browse the repository at this point in the history
  • Loading branch information
in1tiate committed Feb 8, 2024
1 parent e9469a5 commit 965898e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/charselect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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); });
Expand Down

0 comments on commit 965898e

Please sign in to comment.