summaryrefslogtreecommitdiff
path: root/recmenus.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2022-01-29 17:41:02 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2022-06-25 13:12:24 +0200
commit519a87a4715d4479884ff347ccbc3cd564ea5ba9 (patch)
tree67357275d9ec055d8f693dc668ef523622f1307a /recmenus.c
parenta87a1db7c2fc5ec4adba0f625501781b0c168338 (diff)
downloadvdr-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/recmenus.c b/recmenus.c
index 954c8f2..8b4b039 100644
--- a/recmenus.c
+++ b/recmenus.c
@@ -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));