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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 209d2b5c2a
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-04-15 (Fri, 15 Apr 2011)

Origin message was:
------------------
- 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


------------------
This commit was generated by Migit
This commit is contained in:
gixxpunk
2011-04-15 11:53:37 +00:00
parent ec21b4dedd
commit 1ec2d2b523

View File

@@ -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)