Neutrino menu forwarder: add possibility to show value from jump target

based on idea by martii <m4rtii@gmx.de> in Neutrino-MP Git
This commit is contained in:
Christian Schuett
2013-12-30 23:25:26 +01:00
committed by svenhoefer
parent 0a195c7c48
commit 7d04113307
2 changed files with 6 additions and 5 deletions

View File

@@ -1789,11 +1789,11 @@ const char * CMenuForwarder::getOption(void)
{
if (option)
return option;
else
if (option_string)
return option_string->c_str();
else
return NULL;
if (option_string)
return option_string->c_str();
if (jumpTarget)
return jumpTarget->getTargetValue();
return NULL;
}
const char * CMenuForwarder::getName(void)