- 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

@@ -318,7 +318,8 @@ int CRCInput::messageLoop( bool anyKeyCancels, int timeout )
( msg == CRCInput::RC_home ) ||
( msg == CRCInput::RC_ok ) )
doLoop = false;
else if((msg == CRCInput::RC_sat) || (msg == CRCInput::RC_favorites)) {
else if (CNeutrinoApp::getInstance()->listModeKey(msg)) {
// do nothing
}
else
{