- add listModeKey() function to simplify these calls

This commit is contained in:
svenhoefer
2016-09-09 10:42:46 +02:00
parent b1ab3e2290
commit 2911e638c7
29 changed files with 80 additions and 61 deletions

View File

@@ -1025,7 +1025,7 @@ void CInfoViewer::loop(bool show_dot)
if (msg == (neutrino_msg_t) g_settings.key_screenshot) {
res = CNeutrinoApp::getInstance()->handleMsg(msg, data);
} else if (msg == CRCInput::RC_sat || msg == CRCInput::RC_favorites || msg == CRCInput::RC_www) {
} else if (CNeutrinoApp::getInstance()->listModeKey(msg)) {
g_RCInput->postMsg (msg, 0);
res = messages_return::cancel_info;
} else if (msg == CRCInput::RC_help || msg == CRCInput::RC_info) {