mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
gui/update.cpp: disable "systemFS with settings" menu item on apollo,
as non-working at the moment
This commit is contained in:
@@ -649,8 +649,10 @@ void CFlashExpert::showMTDSelector(const std::string & actionkey)
|
|||||||
sprintf(sActionKey, "%s%d", actionkey.c_str(), lx);
|
sprintf(sActionKey, "%s%d", actionkey.c_str(), lx);
|
||||||
mtdselector->addItem(new CMenuForwarderNonLocalized(mtdInfo->getMTDName(lx).c_str(), enabled, NULL, this, sActionKey, CRCInput::convertDigitToKey(shortcut++)));
|
mtdselector->addItem(new CMenuForwarderNonLocalized(mtdInfo->getMTDName(lx).c_str(), enabled, NULL, this, sActionKey, CRCInput::convertDigitToKey(shortcut++)));
|
||||||
}
|
}
|
||||||
|
#ifndef BOXMODEL_APOLLO
|
||||||
if (actionkey == "writemtd")
|
if (actionkey == "writemtd")
|
||||||
mtdselector->addItem(new CMenuForwarderNonLocalized("systemFS with settings", true, NULL, this, "writemtd10", CRCInput::convertDigitToKey(shortcut++)));
|
mtdselector->addItem(new CMenuForwarderNonLocalized("systemFS with settings", true, NULL, this, "writemtd10", CRCInput::convertDigitToKey(shortcut++)));
|
||||||
|
#endif
|
||||||
mtdselector->exec(NULL,"");
|
mtdselector->exec(NULL,"");
|
||||||
delete mtdselector;
|
delete mtdselector;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user