diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-02-12 13:16:15 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-02-12 13:16:15 +0100 |
commit | 027ec5a63f315596253ac77bfc81929d0de26903 (patch) | |
tree | 6684c9b4b98010c91d12f73c851e44bd9cebb1b2 /menu.c | |
parent | 4aaaa97ade72c8cb7769adfd2b186fd237557e8f (diff) | |
download | vdr-027ec5a63f315596253ac77bfc81929d0de26903.tar.gz vdr-027ec5a63f315596253ac77bfc81929d0de26903.tar.bz2 |
Fixed selecting the last replayed recording in the Recordings menu
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 2.77 2013/02/11 11:08:54 kls Exp $ + * $Id: menu.c 2.78 2013/02/12 13:10:53 kls Exp $ */ #include "menu.h" @@ -2306,8 +2306,10 @@ void cMenuRecordings::Set(bool Refresh) if (CurrentRecording && strcmp(CurrentRecording, recording->FileName()) == 0) SetCurrent(LastItem); } - if (LastDir) + if (LastDir) { LastDir->IncrementCounter(recording->IsNew()); + LastItem = LastDir; + } } } if (Refresh) |