From 8b32d05039cc7533bfea835839459256ece07561 Mon Sep 17 00:00:00 2001 From: James Date: Sat, 14 Oct 2017 22:10:05 +1100 Subject: [PATCH] Fix edge case for checking for updates when already deferred --- src/citra_qt/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 5acef8da0..e93a1a264 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -429,6 +429,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?

" @@ -607,7 +609,6 @@ void GMainWindow::ShutdownGame() { emulation_running = false; if (defer_update_prompt) { - defer_update_prompt = false; ShowUpdatePrompt(); } }