mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- 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 is contained in:
@@ -4014,6 +4014,12 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
|
|||||||
If the channel is the same (as during a recording), then it will only
|
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
|
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->setSelected(0xfffffff); /* make sure that zapTo_ChannelID will zap */
|
||||||
channelList->zapTo_ChannelID(live_channel_id);
|
channelList->zapTo_ChannelID(live_channel_id);
|
||||||
if(recordingstatus) was_record = 0;
|
if(recordingstatus) was_record = 0;
|
||||||
@@ -4025,12 +4031,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
|
|||||||
if(g_settings.mode_clock)
|
if(g_settings.mode_clock)
|
||||||
InfoClock->StartClock();
|
InfoClock->StartClock();
|
||||||
|
|
||||||
mode = mode_unknown;
|
|
||||||
if( lastMode == mode_radio ) {
|
|
||||||
radioMode( false );
|
|
||||||
} else {
|
|
||||||
tvMode( false );
|
|
||||||
}
|
|
||||||
AudioMute(current_muted, true);
|
AudioMute(current_muted, true);
|
||||||
if((mode == mode_tv) && wasshift) {
|
if((mode == mode_tv) && wasshift) {
|
||||||
startAutoRecord(true);
|
startAutoRecord(true);
|
||||||
@@ -4038,7 +4038,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
|
|||||||
wasshift = false;
|
wasshift = false;
|
||||||
StartSubtitles();
|
StartSubtitles();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CNeutrinoApp::radioMode( bool rezap)
|
void CNeutrinoApp::radioMode( bool rezap)
|
||||||
|
Reference in New Issue
Block a user