From 1a590250f52fa3128d6ae73821e9c3dd7d1bce13 Mon Sep 17 00:00:00 2001 From: linknetx Date: Sun, 3 Feb 2019 08:10:36 +0000 Subject: [PATCH] Update PVRTimers.cpp Fix for this issue: In the EPG, selecting 'Delete timer' on a program with a series timer rule opens the 'Confirm delete' dialog asking 'Do you only want to delete this timer or also the timer rule that has scheduled it?' with two options 'All' or 'Only this'. Both options have the same result and only delete the selected timer. The 'All' option fails to delete the timer rule. --- xbmc/pvr/timers/PVRTimers.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xbmc/pvr/timers/PVRTimers.cpp b/xbmc/pvr/timers/PVRTimers.cpp index 97ce1808fefe6..b2f81725a18f5 100644 --- a/xbmc/pvr/timers/PVRTimers.cpp +++ b/xbmc/pvr/timers/PVRTimers.cpp @@ -683,6 +683,8 @@ TimerOperationResult CPVRTimers::DeleteTimer(const CPVRTimerInfoTagPtr &tag, boo CLog::LogF(LOGERROR, "Unable to obtain timer rule for given timer"); return TimerOperationResult::FAILED; } + + return ruleTag->DeleteFromClient(bForce); } return tag->DeleteFromClient(bForce);