diff --git a/HISTORY b/HISTORY index 782755f6..5cab3edf 100644 --- a/HISTORY +++ b/HISTORY @@ -2239,3 +2239,5 @@ Video Disk Recorder Revision History - Fixed OSD access in case none of the devices provides one (thanks to Axel Gruber for reporting this one). +- Fixed editing channels ('timers.conf' was not written after a channel has + been modified, which could result in errors upon the next start of VDR). diff --git a/menu.c b/menu.c index ecf2493c..48ef0d1f 100644 --- a/menu.c +++ b/menu.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.253 2003/05/30 09:53:57 kls Exp $ + * $Id: menu.c 1.254 2003/06/06 12:56:05 kls Exp $ */ #include "menu.h" @@ -615,6 +615,7 @@ eOSState cMenuEditChannel::ProcessKey(eKeys Key) if (channel) { *channel = data; isyslog("edited channel %d %s", channel->Number(), data.ToText()); + Timers.Save(); state = osBack; } else { diff --git a/svdrp.c b/svdrp.c index 6dafddd1..e9f22161 100644 --- a/svdrp.c +++ b/svdrp.c @@ -10,7 +10,7 @@ * and interact with the Video Disk Recorder - or write a full featured * graphical interface that sits on top of an SVDRP connection. * - * $Id: svdrp.c 1.51 2003/04/27 14:21:07 kls Exp $ + * $Id: svdrp.c 1.52 2003/06/06 13:30:52 kls Exp $ */ #include "svdrp.h" @@ -790,6 +790,7 @@ void cSVDRP::CmdMODC(const char *Option) Channels.ReNumber(); Channels.Save(); isyslog("modifed channel %d %s", channel->Number(), channel->ToText()); + Timers.Save(); Reply(250, "%d %s", channel->Number(), channel->ToText()); } else