Fix pos dropdown failing to get properly populated with bg pos (#661)
(caused by bc49b3e976
			
			
This commit is contained in:
		
							parent
							
								
									bcbbb899f9
								
							
						
					
					
						commit
						ad460ceaff
					
				@ -1345,7 +1345,7 @@ void Courtroom::set_background(QString p_background, bool display)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  // Populate the dropdown list with all pos that exist on this bg
 | 
					  // Populate the dropdown list with all pos that exist on this bg
 | 
				
			||||||
  QStringList pos_list = {};
 | 
					  QStringList pos_list = {};
 | 
				
			||||||
  for (const QString &key : default_pos) {
 | 
					  for (const QString &key : default_pos.keys()) {
 | 
				
			||||||
    if (file_exists(ao_app->get_image_suffix(
 | 
					    if (file_exists(ao_app->get_image_suffix(
 | 
				
			||||||
            ao_app->get_background_path(default_pos[key]))) || // if we have 2.8-style positions, e.g. def.png, wit.webp, hld.apng
 | 
					            ao_app->get_background_path(default_pos[key]))) || // if we have 2.8-style positions, e.g. def.png, wit.webp, hld.apng
 | 
				
			||||||
        file_exists(
 | 
					        file_exists(
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user