mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
gui/update.cpp: disable "systemFS with settings" menu item on apollo,
as non-working at the moment
Origin commit data
------------------
Commit: 0cc83a6a9f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-08-17 (Sat, 17 Aug 2013)
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