From 53a88a0e13e95cc5da737ab64222fa6d7a1ead95 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 3149ab877e..0e9e8f1c53 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -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?

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