diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-10-13 10:12:28 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-10-13 10:12:28 +0200 |
commit | 8945e9e296a915a2e17e692a8e6d3737e1a8d326 (patch) | |
tree | b175f74a26e1799b070ee62580a61721c95feb4d /menu.c | |
parent | 59bc94fba2e14243b0fc1815f833f6d7c146c814 (diff) | |
download | vdr-8945e9e296a915a2e17e692a8e6d3737e1a8d326.tar.gz vdr-8945e9e296a915a2e17e692a8e6d3737e1a8d326.tar.bz2 |
Added a missing Channels.SetModified(true) call when deleting or moving a channel in the Channels menu
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 3 insertions, 1 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.462 2007/10/12 14:30:29 kls Exp $ + * $Id: menu.c 1.463 2007/10/13 10:10:20 kls Exp $ */ #include "menu.h" @@ -525,6 +525,7 @@ eOSState cMenuChannels::Delete(void) Channels.Del(channel); cOsdMenu::Del(Index); Propagate(); + Channels.SetModified(true); isyslog("channel %d deleted", DeletedChannel); if (CurrentChannel && CurrentChannel->Number() != CurrentChannelNr) { if (!cDevice::PrimaryDevice()->Replaying() || cDevice::PrimaryDevice()->Transferring()) @@ -549,6 +550,7 @@ void cMenuChannels::Move(int From, int To) Channels.Move(FromChannel, ToChannel); cOsdMenu::Move(From, To); Propagate(); + Channels.SetModified(true); isyslog("channel %d moved to %d", FromNumber, ToNumber); if (CurrentChannel && CurrentChannel->Number() != CurrentChannelNr) { if (!cDevice::PrimaryDevice()->Replaying() || cDevice::PrimaryDevice()->Transferring()) |