mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	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) { |     if (children_total > 0) { | ||||||
|         search_field->setFocus(); |         search_field->setFocus(); | ||||||
|     } |     } | ||||||
|  |     item_model->sort(tree_view->header()->sortIndicatorSection(), | ||||||
|  |                      tree_view->header()->sortIndicatorOrder()); | ||||||
| 
 | 
 | ||||||
|     emit PopulatingCompleted(); |     emit PopulatingCompleted(); | ||||||
| } | } | ||||||
|  | @ -641,8 +643,6 @@ void GameList::LoadInterfaceLayout() { | ||||||
|         // so make it as large as possible as default.
 |         // so make it as large as possible as default.
 | ||||||
|         header->resizeSection(COLUMN_NAME, header->width()); |         header->resizeSection(COLUMN_NAME, header->width()); | ||||||
|     } |     } | ||||||
| 
 |  | ||||||
|     item_model->sort(header->sortIndicatorSection(), header->sortIndicatorOrder()); |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| const QStringList GameList::supported_file_extensions = {"3ds", "3dsx", "elf", "axf", | const QStringList GameList::supported_file_extensions = {"3ds", "3dsx", "elf", "axf", | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue