mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 20:56:42 +00:00 
			
		
		
		
	Correcting https://bugs.openmw.org/issues/3906.
This commit is contained in:
		
							parent
							
								
									d32ea7f284
								
							
						
					
					
						commit
						c920d083e4
					
				
					 2 changed files with 10 additions and 1 deletions
				
			
		|  | @ -172,7 +172,10 @@ Launcher::FirstRunDialogResult Launcher::MainDialog::showFirstRunDialog() | |||
|         } | ||||
|     } | ||||
| 
 | ||||
|     return setup() ? FirstRunDialogResultContinue : FirstRunDialogResultFailure; | ||||
|     if (!setup() || !setupGameData()) { | ||||
|         return FirstRunDialogResultFailure; | ||||
|     } | ||||
|     return FirstRunDialogResultContinue; | ||||
| } | ||||
| 
 | ||||
| void Launcher::MainDialog::setVersionLabel() | ||||
|  | @ -344,6 +347,11 @@ bool Launcher::MainDialog::setupGameSettings() | |||
|         file.close(); | ||||
|     } | ||||
| 
 | ||||
|     return true; | ||||
| } | ||||
| 
 | ||||
| bool Launcher::MainDialog::setupGameData() | ||||
| { | ||||
|     QStringList dataDirs; | ||||
| 
 | ||||
|     // Check if the paths actually contain data files
 | ||||
|  |  | |||
|  | @ -72,6 +72,7 @@ namespace Launcher | |||
|         bool setupLauncherSettings(); | ||||
|         bool setupGameSettings(); | ||||
|         bool setupGraphicsSettings(); | ||||
|         bool setupGameData(); | ||||
| 
 | ||||
|         void setVersionLabel(); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue