mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +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
This commit is contained in:
committed by
Jacek Jendrzej
parent
35444cb703
commit
f6413891b2
@@ -1016,6 +1016,12 @@ bool CNeutrinoEventList::findEvents(void)
|
|||||||
int event = 0;
|
int event = 0;
|
||||||
t_channel_id channel_id = 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,
|
CEventFinderMenu menu( &event,
|
||||||
&m_search_epg_item,
|
&m_search_epg_item,
|
||||||
&m_search_keyword,
|
&m_search_keyword,
|
||||||
|
@@ -67,6 +67,7 @@ class CNeutrinoEventList
|
|||||||
private:
|
private:
|
||||||
int m_search_epg_item;
|
int m_search_epg_item;
|
||||||
std::string m_search_keyword;
|
std::string m_search_keyword;
|
||||||
|
std::string m_search_autokeyword;
|
||||||
int m_search_list;
|
int m_search_list;
|
||||||
t_channel_id m_search_channel_id;
|
t_channel_id m_search_channel_id;
|
||||||
t_bouquet_id m_search_bouquet_id;
|
t_bouquet_id m_search_bouquet_id;
|
||||||
|
Reference in New Issue
Block a user