summaryrefslogtreecommitdiff
path: root/menu_commands.c
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2009-06-23 20:31:56 +0200
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2009-06-23 20:31:56 +0200
commit236d130b574d7a2559c448d061c64d034e93a94e (patch)
treeb1c389148ed3dc2829a4f8a1463b596e91168571 /menu_commands.c
parent29fb44c898ff29e7f195e3744bd081c5db2548be (diff)
downloadvdr-plugin-epgsearch-236d130b574d7a2559c448d061c64d034e93a94e.tar.gz
vdr-plugin-epgsearch-236d130b574d7a2559c448d061c64d034e93a94e.tar.bz2
- made some destructors virtual
- when creating search timers directly from EPG their default 'use channel' is now the corresponding channel of the event instead of the current channel
Diffstat (limited to 'menu_commands.c')
-rw-r--r--menu_commands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/menu_commands.c b/menu_commands.c
index bf1b38d..a1aae6e 100644
--- a/menu_commands.c
+++ b/menu_commands.c
@@ -232,7 +232,8 @@ eOSState cMenuSearchCommands::CreateSearchTimer(void)
cSearchExt* pNew = new cSearchExt;
strcpy(pNew->search, event->Title());
- return AddSubMenu(new cMenuEditSearchExt(pNew, true));
+ pNew->channelMin = pNew->channelMax = Channels.GetByChannelID(event->ChannelID());
+ return AddSubMenu(new cMenuEditSearchExt(pNew, true, false, true));
}
eOSState cMenuSearchCommands::CreateBlacklist(void)