mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-25 11:26:37 +00:00 
			
		
		
		
	Fix bug setting current launcher profile on startup (Bug #2188)
This commit is contained in:
		
							parent
							
								
									9ef6e95bf6
								
							
						
					
					
						commit
						ed66bbb28d
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		|  | @ -238,9 +238,7 @@ void Launcher::DataFilesPage::addProfile (const QString &profile, bool setAsCurr | ||||||
|     if (profile.isEmpty()) |     if (profile.isEmpty()) | ||||||
|         return; |         return; | ||||||
| 
 | 
 | ||||||
|     if (ui.profilesComboBox->findText (profile) != -1) |     if (ui.profilesComboBox->findText (profile) == -1) | ||||||
|         return; |  | ||||||
| 
 |  | ||||||
|         ui.profilesComboBox->addItem (profile); |         ui.profilesComboBox->addItem (profile); | ||||||
| 
 | 
 | ||||||
|     if (setAsCurrent) |     if (setAsCurrent) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue