The replay progress display is now turned on whenever a mark is toggled (not only when one is set)

This commit is contained in:
Klaus Schmidinger 2012-03-03 14:49:59 +01:00
parent 0127bf264c
commit 31cca0c85b
2 changed files with 4 additions and 2 deletions

View File

@ -6965,3 +6965,5 @@ Video Disk Recorder Revision History
- Now checking for NULL in cOsd::AddPixmap() (suggested by Christoph Haubrich).
- Fixed the German translation of "VDR will shut down in %s minutes" (thanks to
Frank Neumann).
- The replay progress display is now turned on whenever a mark is toggled (not
only when one is set).

4
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 2.39 2012/03/02 10:33:17 kls Exp $
* $Id: menu.c 2.40 2012/03/03 14:47:32 kls Exp $
*/
#include "menu.h"
@ -4694,12 +4694,12 @@ void cReplayControl::MarkToggle(void)
marks.Del(m);
else {
marks.Add(Current);
ShowTimed(2);
bool Play, Forward;
int Speed;
if (GetReplayMode(Play, Forward, Speed) && !Play)
Goto(Current, true);
}
ShowTimed(2);
marks.Save();
}
}