diff options
author | louis <louis.braun@gmx.de> | 2015-01-07 05:16:37 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-01-07 05:16:37 +0100 |
commit | 5d83b13943f3b9cd1196c4082991b4cf46f56959 (patch) | |
tree | 2bca21a9694a75b0cf21deab7e10b3e9f85dccad /libcore | |
parent | 2ddc1ee46bb066029d8977801972362d0daae4c2 (diff) | |
download | vdr-plugin-skindesigner-5d83b13943f3b9cd1196c4082991b4cf46f56959.tar.gz vdr-plugin-skindesigner-5d83b13943f3b9cd1196c4082991b4cf46f56959.tar.bz2 |
display only active remote timers in main menu
Diffstat (limited to 'libcore')
-rw-r--r-- | libcore/timers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcore/timers.c b/libcore/timers.c index 00f40e9..3e80ec7 100644 --- a/libcore/timers.c +++ b/libcore/timers.c @@ -34,7 +34,8 @@ cGlobalSortedTimers::cGlobalSortedTimers(bool forceRefresh) : cVector<const cTim cTimer* remoteTimer = NULL; while (pRemoteTimers->Service("RemoteTimers::ForEach-v1.0", &remoteTimer) && remoteTimer != NULL) { remoteTimer->SetEventFromSchedule(Schedules); // make sure the event is current - Append(remoteTimer); + if (remoteTimer->HasFlags(tfActive)) + Append(remoteTimer); } } |