mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Fixed clearing non-editable members in the channel editor
This commit is contained in:
parent
c1ddb52405
commit
5b65ff5b37
@ -1175,6 +1175,7 @@ Rolf Ahrenberg <Rolf.Ahrenberg@sci.fi>
|
|||||||
for fixing the call to ChannelString() in cSkinLCARSDisplayChannel::SetChannel()
|
for fixing the call to ChannelString() in cSkinLCARSDisplayChannel::SetChannel()
|
||||||
for a patch that was used to rename the "plp id" to a more general "stream id"
|
for a patch that was used to rename the "plp id" to a more general "stream id"
|
||||||
and add support for DVB-S2 "Input Stream Identifier" (ISI)
|
and add support for DVB-S2 "Input Stream Identifier" (ISI)
|
||||||
|
for fixing clearing non-editable members in the channel editor
|
||||||
|
|
||||||
Ralf Klueber <ralf.klueber@vodafone.com>
|
Ralf Klueber <ralf.klueber@vodafone.com>
|
||||||
for reporting a bug in cutting a recording if there is only a single editing mark
|
for reporting a bug in cutting a recording if there is only a single editing mark
|
||||||
|
3
HISTORY
3
HISTORY
@ -7870,7 +7870,7 @@ Video Disk Recorder Revision History
|
|||||||
and also to use the correct directory with --edit (the latter reported by Marko
|
and also to use the correct directory with --edit (the latter reported by Marko
|
||||||
Mäkelä).
|
Mäkelä).
|
||||||
|
|
||||||
2014-01-29: Version 2.0.6
|
2014-01-30: Version 2.0.6
|
||||||
|
|
||||||
- Updated 'sources.conf' (thanks to Antti Hartikainen).
|
- Updated 'sources.conf' (thanks to Antti Hartikainen).
|
||||||
- cFont::CreateFont() now returns a dummy font in case there are no fonts installed.
|
- cFont::CreateFont() now returns a dummy font in case there are no fonts installed.
|
||||||
@ -7887,3 +7887,4 @@ Video Disk Recorder Revision History
|
|||||||
Eike Sauer and Oliver Endriss).
|
Eike Sauer and Oliver Endriss).
|
||||||
- Fixed sorting recordings by time in the Recordings menu if "Setup/OSD/Recording
|
- Fixed sorting recordings by time in the Recordings menu if "Setup/OSD/Recording
|
||||||
directories" is set to "no".
|
directories" is set to "no".
|
||||||
|
- Fixed clearing non-editable members in the channel editor (thanks to Rolf Ahrenberg).
|
||||||
|
6
menu.c
6
menu.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: menu.c 2.82.1.6 2014/01/29 10:48:02 kls Exp $
|
* $Id: menu.c 2.82.1.7 2014/01/30 09:11:46 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
@ -181,9 +181,13 @@ cMenuEditChannel::cMenuEditChannel(cChannel *Channel, bool New)
|
|||||||
strn0cpy(name, data.name, sizeof(name));
|
strn0cpy(name, data.name, sizeof(name));
|
||||||
if (New) {
|
if (New) {
|
||||||
channel = NULL;
|
channel = NULL;
|
||||||
|
// clear non-editable members:
|
||||||
data.nid = 0;
|
data.nid = 0;
|
||||||
data.tid = 0;
|
data.tid = 0;
|
||||||
data.rid = 0;
|
data.rid = 0;
|
||||||
|
*data.shortName = 0;
|
||||||
|
*data.provider = 0;
|
||||||
|
*data.portalName = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Setup();
|
Setup();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user