mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
channellist: don't change bouquetmode when adding favs
when adding a channel to favorites from the channellist contextmenu
the favorites bouquet was chosen, which is not helpful if further
favorites should be added
Origin commit data
------------------
Branch: ni/coolstream
Commit: 367f6f6559
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-10 (Sun, 10 Mar 2013)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
[CST] Focus
parent
bc2ec1f0de
commit
0e2e3df4dc
@@ -425,7 +425,7 @@ int CChannelList::doChannelMenu(void)
|
||||
}
|
||||
if(!g_bouquetManager->existsChannelInBouquet(bouquet_id, channel_id)) {
|
||||
CZapit::getInstance()->addChannelToBouquet(bouquet_id, channel_id);
|
||||
return 1;
|
||||
return 2;
|
||||
}
|
||||
|
||||
break;
|
||||
@@ -683,9 +683,10 @@ int CChannelList::show()
|
||||
else if ( msg == CRCInput::RC_setup) {
|
||||
old_b_id = bouquetList->getActiveBouquetNumber();
|
||||
fader.Stop();
|
||||
CNeutrinoApp::getInstance()->g_channel_list_changed = doChannelMenu();
|
||||
if(CNeutrinoApp::getInstance()->g_channel_list_changed) {
|
||||
res = -4;
|
||||
int ret = doChannelMenu();
|
||||
CNeutrinoApp::getInstance()->g_channel_list_changed = (ret != 0);
|
||||
if (ret) {
|
||||
res = -3 - ret; /* -5 == add to fav, -5 == all other change */
|
||||
loop = false;
|
||||
} else {
|
||||
old_b_id = -1;
|
||||
|
Reference in New Issue
Block a user