mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
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
------------------
Branch: ni/coolstream
Commit: b8cd692257
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
0e2e3df4dc
commit
aaa3dc1cec
@@ -398,6 +398,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);
|
||||
|
Reference in New Issue
Block a user