mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
channellist.cpp: fix CVFD with history zap
This commit is contained in:
@@ -845,10 +845,6 @@ int CChannelList::show()
|
|||||||
res = bouquetList->exec(true);
|
res = bouquetList->exec(true);
|
||||||
printf("CChannelList:: bouquetList->exec res %d\n", res);
|
printf("CChannelList:: bouquetList->exec res %d\n", res);
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
/* FIXME call this somewhere after show */
|
|
||||||
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
|
|
||||||
#endif
|
|
||||||
this->new_mode_active = 0;
|
this->new_mode_active = 0;
|
||||||
|
|
||||||
if(NeutrinoMessages::mode_ts == CNeutrinoApp::getInstance()->getMode())
|
if(NeutrinoMessages::mode_ts == CNeutrinoApp::getInstance()->getMode())
|
||||||
@@ -1187,6 +1183,7 @@ int CChannelList::numericZap(int key)
|
|||||||
channelList->adjustToChannelID(orgList->getActiveChannel_ChannelID(), false);
|
channelList->adjustToChannelID(orgList->getActiveChannel_ChannelID(), false);
|
||||||
this->frameBuffer->paintBackground();
|
this->frameBuffer->paintBackground();
|
||||||
res = channelList->exec();
|
res = channelList->exec();
|
||||||
|
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
|
||||||
}
|
}
|
||||||
delete channelList;
|
delete channelList;
|
||||||
return res;
|
return res;
|
||||||
@@ -1205,6 +1202,7 @@ int CChannelList::numericZap(int key)
|
|||||||
if (channelList->getSize() != 0) {
|
if (channelList->getSize() != 0) {
|
||||||
this->frameBuffer->paintBackground();
|
this->frameBuffer->paintBackground();
|
||||||
res = channelList->exec();
|
res = channelList->exec();
|
||||||
|
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
|
||||||
}
|
}
|
||||||
delete channelList;
|
delete channelList;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user