diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-10-17 11:50:21 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-10-17 11:50:21 +0200 |
commit | 30dfd2e7019b9727ca761440b1ec4fe511a1143a (patch) | |
tree | 4585d38742a0202bc5f1973dab63c158369c54c3 /menu.c | |
parent | eb18d4a5b0748c3b5d8408fe025eeff332fd64e7 (diff) | |
download | vdr-30dfd2e7019b9727ca761440b1ec4fe511a1143a.tar.gz vdr-30dfd2e7019b9727ca761440b1ec4fe511a1143a.tar.bz2 |
Now only saving channels.conf after a modification made by the user
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.313 2004/10/16 16:10:42 kls Exp $ + * $Id: menu.c 1.314 2004/10/17 10:28:27 kls Exp $ */ #include "menu.h" @@ -308,7 +308,7 @@ eOSState cMenuEditChannel::ProcessKey(eKeys Key) isyslog("added channel %d %s", channel->Number(), data.ToText()); state = osUser1; } - Channels.SetModified(); + Channels.SetModified(true); } else { Skins.Message(mtError, tr("Channel settings are not unique!")); @@ -396,7 +396,7 @@ void cMenuChannels::Propagate(void) for (cMenuChannelItem *ci = (cMenuChannelItem *)First(); ci; ci = (cMenuChannelItem *)ci->Next()) ci->Set(); Display(); - Channels.SetModified(); + Channels.SetModified(true); } eOSState cMenuChannels::Switch(void) |