mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +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
This commit is contained in:
@@ -406,6 +406,10 @@ int CChannelList::doChannelMenu(void)
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
case 2: // add to
|
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 {
|
do {
|
||||||
bouquet_id = bouquetList->exec(false);
|
bouquet_id = bouquetList->exec(false);
|
||||||
} while(bouquet_id == -3);
|
} while(bouquet_id == -3);
|
||||||
|
Reference in New Issue
Block a user