From c8d953d0c66d993fa0253ccdd5667c5b9ad67e25 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Sat, 2 Apr 2022 11:52:51 -0700 Subject: [PATCH] Updater: Fix manual update check when autoupdate is disabled --- Source/Core/DolphinQt/MenuBar.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/Core/DolphinQt/MenuBar.cpp b/Source/Core/DolphinQt/MenuBar.cpp index 2ff85d535f..a353cb5734 100644 --- a/Source/Core/DolphinQt/MenuBar.cpp +++ b/Source/Core/DolphinQt/MenuBar.cpp @@ -556,9 +556,10 @@ void MenuBar::AddOptionsMenu() void MenuBar::InstallUpdateManually() { - auto* updater = - new Updater(this->parentWidget(), Config::Get(Config::MAIN_AUTOUPDATE_UPDATE_TRACK), - Config::Get(Config::MAIN_AUTOUPDATE_HASH_OVERRIDE)); + const std::string autoupdate_track = Config::Get(Config::MAIN_AUTOUPDATE_UPDATE_TRACK); + const std::string manual_track = autoupdate_track.empty() ? "dev" : autoupdate_track; + auto* const updater = new Updater(this->parentWidget(), manual_track, + Config::Get(Config::MAIN_AUTOUPDATE_HASH_OVERRIDE)); if (!updater->CheckForUpdate()) {