summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-10-17 11:50:21 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-10-17 11:50:21 +0200
commit30dfd2e7019b9727ca761440b1ec4fe511a1143a (patch)
tree4585d38742a0202bc5f1973dab63c158369c54c3 /menu.c
parenteb18d4a5b0748c3b5d8408fe025eeff332fd64e7 (diff)
downloadvdr-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/menu.c b/menu.c
index f8bb0f17..e3fe69a8 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.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)