From f8aacb7a10c5cb1281344cb82d6e902dcc3c1a5f 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 69e940966..a809167e4 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -400,6 +400,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);