gui/update_menue.cpp: re-enable 'save current software' for easymenu mode

Origin commit data
------------------
Commit: 53b351fc2b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-10-30 (Wed, 30 Oct 2013)
This commit is contained in:
[CST] Focus
2013-10-30 18:49:11 +04:00
parent a2d15bda23
commit 41b74f6951

View File

@@ -77,9 +77,9 @@ int CSoftwareUpdate::showSoftwareUpdate()
{
CMenuForwarder * mf;
CMenuWidget softUpdate(LOCALE_MAINMENU_SERVICE, NEUTRINO_ICON_UPDATE, width, MN_WIDGET_ID_SOFTWAREUPDATE);
softUpdate.addIntroItems(LOCALE_SERVICEMENU_UPDATE);
//flashing
CFlashUpdate flash;
#if 0
@@ -113,14 +113,17 @@ int CSoftwareUpdate::showSoftwareUpdate()
mf->setHint("", LOCALE_MENU_HINT_SOFTUPDATE_EXPERT);
softUpdate.addItem(mf);
#ifdef BOXMODEL_APOLLO
softUpdate.addItem(GenericMenuSeparatorLine);
mf = new CMenuForwarder(LOCALE_FLASHUPDATE_CREATEIMAGE_MENU, true, NULL, new CFlashExpertSetup(), NULL, CRCInput::convertDigitToKey(1));
mf->setHint("", LOCALE_MENU_HINT_SOFTUPDATE_CREATEIMAGE_MENU);
softUpdate.addItem(mf);
#endif
}
#ifdef BOXMODEL_APOLLO
softUpdate.addItem(GenericMenuSeparatorLine);
if (g_settings.easymenu)
mf = new CMenuForwarder(LOCALE_FLASHUPDATE_CREATEIMAGE_MENU, true, NULL, new CFlashExpertSetup(), NULL, CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
else
mf = new CMenuForwarder(LOCALE_FLASHUPDATE_CREATEIMAGE_MENU, true, NULL, new CFlashExpertSetup(), NULL, CRCInput::convertDigitToKey(1));
mf->setHint("", LOCALE_MENU_HINT_SOFTUPDATE_CREATEIMAGE_MENU);
softUpdate.addItem(mf);
#endif
int res = softUpdate.exec (NULL, "");
return res;