From 209d2b5c2ad21721c4d5867d5ff6abd0b9c01a92 Mon Sep 17 00:00:00 2001 From: striper Date: Fri, 15 Apr 2011 11:53:37 +0000 Subject: [PATCH] - fix channellist focus at wakeup from standby (patch by seife) git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1399 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/neutrino.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 892209e7f..b85d69629 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -4014,6 +4014,12 @@ void CNeutrinoApp::standbyMode( bool bOnOff ) If the channel is the same (as during a recording), then it will only check PIN and not zap, so we should be fine here */ + mode = mode_unknown; + if( lastMode == mode_radio ) { + radioMode( false ); + } else { + tvMode( false ); + } channelList->setSelected(0xfffffff); /* make sure that zapTo_ChannelID will zap */ channelList->zapTo_ChannelID(live_channel_id); if(recordingstatus) was_record = 0; @@ -4025,12 +4031,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff ) if(g_settings.mode_clock) InfoClock->StartClock(); - mode = mode_unknown; - if( lastMode == mode_radio ) { - radioMode( false ); - } else { - tvMode( false ); - } AudioMute(current_muted, true); if((mode == mode_tv) && wasshift) { startAutoRecord(true); @@ -4038,7 +4038,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff ) wasshift = false; StartSubtitles(); } - } void CNeutrinoApp::radioMode( bool rezap)