add listModeKey() function to simplify these calls

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

Origin message was:
------------------
- add listModeKey() function to simplify these calls

------------------
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:42:46 +02:00
parent 4c56d72f02
commit 58b62b0445
29 changed files with 80 additions and 61 deletions

View File

@@ -154,7 +154,8 @@ int CLuaInstHintbox::HintboxExec(lua_State *L)
D->b->scroll_up();
else
D->b->scroll_down();
} else if ((msg == CRCInput::RC_sat) || (msg == CRCInput::RC_favorites) || (msg == CRCInput::RC_www)) {
} else if (CNeutrinoApp::getInstance()->listModeKey(msg)) {
// do nothing
} else if (msg == CRCInput::RC_mode) {
break;
} else if ((msg == CRCInput::RC_next) || (msg == CRCInput::RC_prev)) {