diff options
author | Timo Eskola <timo@tolleri.net> | 2018-08-30 09:01:09 +0300 |
---|---|---|
committer | Timo Eskola <timo@tolleri.net> | 2018-08-30 09:01:09 +0300 |
commit | 0a79f79184c189aebd5e8776109a8893fb4673c5 (patch) | |
tree | b61b500b45dac0ef81e89b3524a5f74ef4382344 /menu.c | |
parent | 9dea9d4c4d5f7b24279ca635799a5431ad0d139e (diff) | |
download | vdr-plugin-duplicates-0a79f79184c189aebd5e8776109a8893fb4673c5.tar.gz vdr-plugin-duplicates-0a79f79184c189aebd5e8776109a8893fb4673c5.tar.bz2 |
Fixed menu updating.
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -167,6 +167,7 @@ void cMenuDuplicates::Set(bool Refresh) { currentIndex = Current(); else CurrentRecording = cReplayControl::LastReplayed(); + Clear(); cMutexLock MutexLock(&DuplicateRecordings.mutex); for (cDuplicateRecording *Duplicates = DuplicateRecordings.First(); Duplicates; Duplicates = DuplicateRecordings.Next(Duplicates)) { Add(SeparatorItem(Duplicates->Text())); |