adapt listModeKey() function to our code

Origin commit data
------------------
Branch: ni/coolstream
Commit: 9c2cb63adb
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-09 (Fri, 09 Sep 2016)

Origin message was:
------------------
- adapt listModeKey() function to our code

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-09-09 10:46:12 +02:00
parent af4767a199
commit 9bbe588715
2 changed files with 4 additions and 2 deletions

View File

@@ -128,7 +128,9 @@ int CHDDInfoMenu::exec(CMenuTarget* parent, const std::string &actionKey)
} else } else
doLoop = false; doLoop = false;
} }
else if((msg == CRCInput::RC_sat) || (msg == CRCInput::RC_favorites)) { else if (CNeutrinoApp::getInstance()->listModeKey(msg))
{
// do nothing
} }
else else
{ {

View File

@@ -165,7 +165,7 @@ int CImageInfoNI::exec(CMenuTarget* parent, const std::string &)
res = menu_return::RETURN_EXIT_ALL; res = menu_return::RETURN_EXIT_ALL;
break; break;
} }
else if((msg == CRCInput::RC_sat) || (msg == CRCInput::RC_favorites)) { else if (CNeutrinoApp::getInstance()->listModeKey(msg)) {
g_RCInput->postMsg (msg, 0); g_RCInput->postMsg (msg, 0);
res = menu_return::RETURN_EXIT_ALL; res = menu_return::RETURN_EXIT_ALL;
break; break;