From a91b58aac46df43246a44f2723502af2c64cec04 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 10 Mar 2013 00:15:46 +0100 Subject: [PATCH] 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 --- src/gui/channellist.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 09ccc1253..85e187aa3 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -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);