diff options
author | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2015-11-06 19:45:54 +0100 |
---|---|---|
committer | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2015-11-06 19:45:54 +0100 |
commit | 0f5a048909416605f45d06d8742f73e326f403ae (patch) | |
tree | f58d557bdb2af54a4a56eeff580a9d84b26e7ae7 | |
parent | 5ee6d78b47bdd9e929b77d3908975a371fcba1be (diff) |
[PVR] Fix: Remove context menu item 'Add to favourites' for children of repeating timers
-rw-r--r-- | xbmc/pvr/timers/PVRTimers.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/pvr/timers/PVRTimers.cpp b/xbmc/pvr/timers/PVRTimers.cpp index a2714d3f32..96be273987 100644 --- a/xbmc/pvr/timers/PVRTimers.cpp +++ b/xbmc/pvr/timers/PVRTimers.cpp @@ -446,6 +446,9 @@ bool CPVRTimers::GetSubDirectory(const CPVRTimersPath &path, CFileItemList &item (timer->m_iParentClientIndex == iParentId)) { item.reset(new CFileItem(timer)); + std::string strItemPath( + CPVRTimersPath(path.GetPath(), timer->m_iClientId, timer->m_iClientIndex).GetPath()); + item->SetPath(strItemPath); items.Add(item); } } |