summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-03-22 13:52:26 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-03-22 15:06:14 +0100
commitff599e4cda1755e54f1de55a4d7faf5095568691 (patch)
tree8094e63c866ed19f00542ca3d33c23b10def85bd /setup.c
parentf7e5ac3208a40ceed8bc3bd05fe81bffc774bbf5 (diff)
downloadvdr-plugin-tvguide-ff599e4cda1755e54f1de55a4d7faf5095568691.tar.gz
vdr-plugin-tvguide-ff599e4cda1755e54f1de55a4d7faf5095568691.tar.bz2
Add "switchMinsBefore" to setup menu
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index c58af4d..d4e0761 100644
--- a/setup.c
+++ b/setup.c
@@ -121,6 +121,7 @@ void cTvguideSetup::Store(void) {
SetupStore("favLimitChannels", tvguideConfig.favLimitChannels);
SetupStore("favStartChannel", tvguideConfig.favStartChannel);
SetupStore("favStopChannel", tvguideConfig.favStopChannel);
+ SetupStore("switchMinsBefore", tvguideConfig.switchMinsBefore);
SetupStore("fontIndex", tvguideConfig.fontIndex);
SetupStore("FontButtonDelta", tvguideConfig.FontButtonDelta);
SetupStore("FontDetailViewDelta", tvguideConfig.FontDetailViewDelta);
@@ -419,6 +420,7 @@ void cMenuSetupFavorites::Set(void) {
Add(new cMenuEditChanItem(tr("Start Channel"), &tmpTvguideConfig->favStartChannel));
Add(new cMenuEditChanItem(tr("Stop Channel"), &tmpTvguideConfig->favStopChannel));
}
+ Add(new cMenuEditIntItem(tr("Minutes a switchtimer switches before start of a show"), &tmpTvguideConfig->switchMinsBefore, 0, 10));
SetCurrent(Get(currentItem));