update-settings: fix chery pick

Origin commit data
------------------
Commit: 9292dc0bcc
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-04-10 (Sat, 10 Apr 2021)

Origin message was:
------------------
- update-settings: fix chery pick
This commit is contained in:
vanhofen
2021-04-10 22:14:39 +02:00
parent 7be8c66c30
commit 1bef95b36e

View File

@@ -161,8 +161,8 @@ int CUpdateSettings::initMenu()
autocheck = new CMenuOptionChooser(LOCALE_FLASHUPDATE_AUTOCHECK, &g_settings.softupdate_autocheck, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, this);
autocheck->setHint("", LOCALE_MENU_HINT_AUTO_UPDATE_CHECK);
#if 0
CMenuOptionChooser *package_autocheck = NULL;
#if 0
if (COPKGManager::hasOpkgSupport()){
package_autocheck = new CMenuOptionChooser(LOCALE_FLASHUPDATE_AUTOCHECK_PACKAGES, &g_settings.softupdate_autocheck_packages, AUTOUPDATE_CHECK_OPTIONS, auto_update_options_count, true, this);
package_autocheck->setHint("", LOCALE_MENU_HINT_AUTO_UPDATE_CHECK);