neutrino.cpp: bugfix: every soft-standby leave,

new CRadioText was created;
move CRadioText create before zap


Origin commit data
------------------
Commit: 9154c96783
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-10-25 (Thu, 25 Oct 2012)
This commit is contained in:
[CST] Focus
2012-10-25 18:09:43 +04:00
parent f2c79a4df0
commit f23d7364b6

View File

@@ -3352,6 +3352,10 @@ void CNeutrinoApp::radioMode( bool rezap)
g_RemoteControl->radioMode();
SetChannelMode(g_settings.channel_mode_radio);
if (g_settings.radiotext_enable && !g_Radiotext)
g_Radiotext = new CRadioText;
if( rezap ) {
t_channel_id last_chid = CZapit::getInstance()->GetLastRADIOChannel();
channelList->setSelected(0xfffffff); /* make sure that zapTo_ChannelID will zap */
@@ -3361,10 +3365,6 @@ void CNeutrinoApp::radioMode( bool rezap)
channelList->zapTo(0);
}
videoDecoder->ShowPicture(DATADIR "/neutrino/icons/radiomode.jpg");
if (g_settings.radiotext_enable) {
g_Radiotext = new CRadioText;
}
}
//switching from current mode to tv or radio mode or to optional parameter prev_mode