mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-30 09:00:05 +00:00
Fix edge case for checking for updates when already deferred
This commit is contained in:
parent
64425bfba6
commit
8b32d05039
@ -429,6 +429,8 @@ void GMainWindow::OnUpdateFound(bool found, bool error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void GMainWindow::ShowUpdatePrompt() {
|
void GMainWindow::ShowUpdatePrompt() {
|
||||||
|
defer_update_prompt = false;
|
||||||
|
|
||||||
auto result = QMessageBox::question(
|
auto result = QMessageBox::question(
|
||||||
this, tr("Update available!"),
|
this, tr("Update available!"),
|
||||||
tr("An update for Citra is available. Do you wish to install it now?<br /><br />"
|
tr("An update for Citra is available. Do you wish to install it now?<br /><br />"
|
||||||
@ -607,7 +609,6 @@ void GMainWindow::ShutdownGame() {
|
|||||||
emulation_running = false;
|
emulation_running = false;
|
||||||
|
|
||||||
if (defer_update_prompt) {
|
if (defer_update_prompt) {
|
||||||
defer_update_prompt = false;
|
|
||||||
ShowUpdatePrompt();
|
ShowUpdatePrompt();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user