mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Fix edge case for checking for updates when already deferred
This commit is contained in:
		
							parent
							
								
									7361ee9750
								
							
						
					
					
						commit
						53a88a0e13
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -433,6 +433,8 @@ void GMainWindow::OnUpdateFound(bool found, bool error) { | |||
| } | ||||
| 
 | ||||
| void GMainWindow::ShowUpdatePrompt() { | ||||
|     defer_update_prompt = false; | ||||
| 
 | ||||
|     auto result = QMessageBox::question( | ||||
|         this, tr("Update available!"), | ||||
|         tr("An update for Citra is available. Do you wish to install it now?<br /><br />" | ||||
|  | @ -611,7 +613,6 @@ void GMainWindow::ShutdownGame() { | |||
|     emulation_running = false; | ||||
| 
 | ||||
|     if (defer_update_prompt) { | ||||
|         defer_update_prompt = false; | ||||
|         ShowUpdatePrompt(); | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue