summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Eskola <timo@tolleri.net>2018-09-02 16:33:05 +0300
committerTimo Eskola <timo@tolleri.net>2018-09-02 16:33:05 +0300
commitab30cd141dc537ca00a8366c85d200d08db3a554 (patch)
tree8d411569c62f40faa220a05274668a89b0a379bd
parent66e1b3ddb9f73a918ce1b8c9f3f5e8a39ba2d8d7 (diff)
downloadvdr-plugin-duplicates-ab30cd141dc537ca00a8366c85d200d08db3a554.tar.gz
vdr-plugin-duplicates-ab30cd141dc537ca00a8366c85d200d08db3a554.tar.bz2
Avoid unlocking recordings twice.
-rw-r--r--menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 0924e8d..76cf338 100644
--- a/menu.c
+++ b/menu.c
@@ -351,11 +351,12 @@ eOSState cMenuDuplicates::Delete(void) {
Del(Current());
SetHelpKeys();
Display();
- } else
+ } else {
Skins.Message(mtError, trVDR("Error while deleting recording!"));
#if VDRVERSNUM >= 20301
- recordingsStateKey.Remove();
+ recordingsStateKey.Remove();
#endif
+ }
}
}
return osContinue;