Sort categories ascending instead of leaving them in loaded order (#932)
This commit is contained in:
		
							parent
							
								
									e9469a5ca4
								
							
						
					
					
						commit
						1899f4e1ba
					
				@ -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); });
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user