neutrino timerlist: ignore numeric keys in open timerlist

Prevents sending of key messages to parent menus with number shortcuts,
but probably needs a better solution.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1994 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: a7558578c8
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-12-23 (Fri, 23 Dec 2011)

Origin message was:
------------------
*neutrino timerlist: ignore numeric keys in open timerlist

Prevents sending of key messages to parent menus with number shortcuts,
but probably needs a better solution.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1994 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
This commit is contained in:
2011-12-23 22:04:35 +00:00
parent fbf0df5ebb
commit cf408d861c

View File

@@ -487,6 +487,11 @@ int CTimerList::show()
}
g_RCInput->getMsgAbsoluteTimeout( &msg, &data, &timeoutEnd );
//ignore numeric keys
if (g_RCInput->isNumeric(msg)){
msg = CRCInput::RC_nokey;
}
if ( msg <= CRCInput::RC_MaxRC )
timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings
::TIMING_MENU]);