From fa759d00d2965c7f4b29a2621242a8e61af56f73 Mon Sep 17 00:00:00 2001 From: gixxpunk Date: Fri, 2 Dec 2011 18:58:05 +0000 Subject: [PATCH] fix display error with empty timerlist -> http://www.dbox2world.net/board293-coolstream-hd1/board314-coolstream-development/p136711-anzeige-bugs/#post136711 git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1932 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/33aeb7d5a4e2a90a108de850514ed57e0b0bf632 Author: gixxpunk Date: 2011-12-02 (Fri, 02 Dec 2011) Origin message was: ------------------ - fix display error with empty timerlist -> http://www.dbox2world.net/board293-coolstream-hd1/board314-coolstream-development/p136711-anzeige-bugs/#post136711 git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1932 e54a6e83-5905-42d5-8d5c-058d10e6a962 ------------------ This commit was generated by Migit --- src/gui/timerlist.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/timerlist.cpp b/src/gui/timerlist.cpp index aa239944b..835351085 100644 --- a/src/gui/timerlist.cpp +++ b/src/gui/timerlist.cpp @@ -519,7 +519,8 @@ int CTimerList::show() } } else if ( ( msg == CRCInput::RC_timeout ) || - ( msg == CRCInput::RC_home) || (msg == CRCInput::RC_left) ) + ( msg == CRCInput::RC_home) || (msg == CRCInput::RC_left) || + (( msg == CRCInput::RC_ok) && (timerlist.empty())) ) { //Exit after timeout or cancel key if ( fadeIn ) { g_RCInput->killTimer(fadeTimer);