channellist: preset favorite bouquets when adding channels

when adding channels from the channellist context menu, the
useful targets are the favorites bouquets, so pre-select them


Origin commit data
------------------
Commit: a91b58aac4
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-10 (Sun, 10 Mar 2013)
This commit is contained in:
Stefan Seyfried
2013-03-10 00:15:46 +01:00
parent 93fcaf1606
commit 241bb43a9a

View File

@@ -406,6 +406,10 @@ int CChannelList::doChannelMenu(void)
break;
case 2: // add to
/* default to favorites list, it makes no sense to add to autogenerated bouquets */
if (CNeutrinoApp::getInstance()->GetChannelMode() != LIST_MODE_FAV)
CNeutrinoApp::getInstance()->SetChannelMode(LIST_MODE_FAV);
do {
bouquet_id = bouquetList->exec(false);
} while(bouquet_id == -3);