From d2472e64cf9b0dfbe270dff4522c920c127d2d5f Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 13 Mar 2013 16:26:59 +0400 Subject: [PATCH] gui/channellist.cpp: use CNeutrinoApp::StartPip --- src/gui/channellist.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 8e92806e7..8ab76dd67 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -785,14 +785,14 @@ int CChannelList::show() } #ifdef ENABLE_PIP else if ( msg == CRCInput::RC_play) { - if(SameTP() && CRecordManager::getInstance()->GetRecordMode(chanlist[selected]->channel_id) == CRecordManager::RECMODE_OFF) { + if(SameTP()) { if (CZapit::getInstance()->GetPipChannelID() == chanlist[selected]->getChannelID()) { g_Zapit->stopPip(); + paint(); } else { - if (!g_Zapit->zapTo_pip(chanlist[selected]->getChannelID())) - DisplayErrorMessage(g_Locale->getText(LOCALE_VIDEOMENU_PIP_ERROR)); + if(CNeutrinoApp::getInstance()->StartPip(chanlist[selected]->getChannelID())) + paint(); } - paint(); } } #endif