diff options
author | Eugene Sandulenko | 2016-04-01 21:32:16 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-04-01 21:32:16 +0200 |
commit | 5baa657f2586ec9596768920861f1645dd5a4856 (patch) | |
tree | e073af059ddb66d3bfdcf644aedf1ca8f61d2e15 | |
parent | a743ec2e07ccada0286085ecec54f4d87ed49d44 (diff) | |
download | scummvm-rg350-5baa657f2586ec9596768920861f1645dd5a4856.tar.gz scummvm-rg350-5baa657f2586ec9596768920861f1645dd5a4856.tar.bz2 scummvm-rg350-5baa657f2586ec9596768920861f1645dd5a4856.zip |
UPDATES: Remove an unneeded check
-rw-r--r-- | gui/options.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gui/options.cpp b/gui/options.cpp index c6bbde7abf..ecd1607e1b 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -1242,10 +1242,7 @@ GlobalOptionsDialog::GlobalOptionsDialog() vals++; } - if (ConfMan.hasKey("updates_check")) - _updatesPopUp->setSelectedTag(Common::UpdateManager::normalizeInterval(ConfMan.getInt("updates_check"))); - else - _updatesPopUp->setSelectedTag(Common::UpdateManager::kUpdateIntervalNotSupported); + _updatesPopUp->setSelectedTag(Common::UpdateManager::normalizeInterval(ConfMan.getInt("updates_check"))); new ButtonWidget(tab, "GlobalOptions_Misc.UpdatesCheckManuallyButton", _("Check now"), 0, kUpdatesCheckCmd); #endif |