mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -486,7 +486,12 @@ int CTimerList::show()
|
|||||||
paint();
|
paint();
|
||||||
}
|
}
|
||||||
g_RCInput->getMsgAbsoluteTimeout( &msg, &data, &timeoutEnd );
|
g_RCInput->getMsgAbsoluteTimeout( &msg, &data, &timeoutEnd );
|
||||||
|
|
||||||
|
//ignore numeric keys
|
||||||
|
if (g_RCInput->isNumeric(msg)){
|
||||||
|
msg = CRCInput::RC_nokey;
|
||||||
|
}
|
||||||
|
|
||||||
if ( msg <= CRCInput::RC_MaxRC )
|
if ( msg <= CRCInput::RC_MaxRC )
|
||||||
timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings
|
timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings
|
||||||
::TIMING_MENU]);
|
::TIMING_MENU]);
|
||||||
|
Reference in New Issue
Block a user