mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
eventlist: Use selected event title as default search word, patch by Gaucho316: http://www.dbox2-tuning.net/forum/viewtopic.php?p=382712#p382712
Origin commit data
------------------
Commit: f6413891b2
Author: rhabarber1848 <rhabarber1848@web.de>
Date: 2012-04-25 (Wed, 25 Apr 2012)
This commit is contained in:
committed by
Jacek Jendrzej
parent
12b8d96c0b
commit
5e2bce7ed0
@@ -1016,6 +1016,12 @@ bool CNeutrinoEventList::findEvents(void)
|
||||
int event = 0;
|
||||
t_channel_id channel_id = 0;
|
||||
|
||||
if((m_search_keyword.empty() || m_search_keyword == m_search_autokeyword) && evtlist[selected].eventID != 0)
|
||||
{
|
||||
m_search_keyword = evtlist[selected].description;
|
||||
m_search_autokeyword = m_search_keyword;
|
||||
}
|
||||
|
||||
CEventFinderMenu menu( &event,
|
||||
&m_search_epg_item,
|
||||
&m_search_keyword,
|
||||
|
Reference in New Issue
Block a user