Skip to content

Commit

Permalink
UPDATES: Remove an unneeded check
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Apr 3, 2016
1 parent 4bc5484 commit 9681452
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions gui/options.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 9681452

Please sign in to comment.