diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2022-01-29 17:41:02 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2022-06-25 13:12:24 +0200 |
commit | 519a87a4715d4479884ff347ccbc3cd564ea5ba9 (patch) | |
tree | 67357275d9ec055d8f693dc668ef523622f1307a /recmenus.c | |
parent | a87a1db7c2fc5ec4adba0f625501781b0c168338 (diff) | |
download | vdr-plugin-tvguide-519a87a4715d4479884ff347ccbc3cd564ea5ba9.tar.gz vdr-plugin-tvguide-519a87a4715d4479884ff347ccbc3cd564ea5ba9.tar.bz2 |
Adapt epgsearch "allow empty" in searchtimer edit
Diffstat (limited to 'recmenus.c')
-rw-r--r-- | recmenus.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -728,6 +728,7 @@ cRecMenuSearchTimerEdit::cRecMenuSearchTimerEdit(cTVGuideSearchTimer searchTimer } sT.GetSearchModes(&searchModes); + sT.GetSubTitleModes(&subTitleModes); sT.GetUseChannelModes(&useChannelModes); sT.GetCompareDateModes(&compareDateModes); sT.GetSearchTimerModes(&searchTimerModes); @@ -864,7 +865,7 @@ void cRecMenuSearchTimerEdit::CreateMenuItems(void) { mainMenuItems.push_back(new cRecMenuItemInt(cString::sprintf("%s%s%s%s%s", *indent, *indent, *indent, *indent, tr("Only repeats within ... days")), 0, 999, false, &sT.repeatsWithinDays, rmsSearchTimerSave)); } mainMenuItems.push_back(new cRecMenuItemBool(cString::sprintf("%s%s%s%s", *indent, *indent, *indent, tr("Compare Title")), false, &sT.compareTitle, rmsSearchTimerSave)); - mainMenuItems.push_back(new cRecMenuItemBool(cString::sprintf("%s%s%s%s", *indent, *indent, *indent, tr("Compare Subtitle")), false, &sT.compareSubtitle, rmsSearchTimerSave)); + mainMenuItems.push_back(new cRecMenuItemSelect(cString::sprintf("%s%s%s%s", *indent, *indent, *indent, tr("Compare Subtitle")), subTitleModes, false, &sT.compareSubtitle, rmsSearchTimerSave)); mainMenuItems.push_back(new cRecMenuItemBool(cString::sprintf("%s%s%s%s", *indent, *indent, *indent, tr("Compare Description")), false, &sT.compareSummary, rmsSearchTimerSave, true)); if (sT.compareSummary) { mainMenuItems.push_back(new cRecMenuItemInt(cString::sprintf("%s%s%s%s%s", *indent, *indent, *indent, *indent, tr("Min. match in %")), 1, 100, false, &sT.compareSummaryMatchInPercent, rmsSearchTimerSave)); |