diff options
author | xhaggi <sascha.woo@gmail.com> | 2014-11-16 11:56:50 +0100 |
---|---|---|
committer | xhaggi <sascha.woo@gmail.com> | 2014-11-16 12:23:13 +0100 |
commit | cac2e02258b3d5f81be167b89fa0720fa9135d80 (patch) | |
tree | 86be1e059825d02b0db777f2cb6bf792f4040f21 | |
parent | 19893f8763c8240b59965885294577d0e5ae1da1 (diff) |
[pvr] persist channel group after updated from client
-rw-r--r-- | xbmc/pvr/channels/PVRChannelGroups.cpp | 2 | ||||
-rw-r--r-- | xbmc/pvr/channels/PVRChannelGroups.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/pvr/channels/PVRChannelGroups.cpp b/xbmc/pvr/channels/PVRChannelGroups.cpp index 3c4c247e00..588fa4e981 100644 --- a/xbmc/pvr/channels/PVRChannelGroups.cpp +++ b/xbmc/pvr/channels/PVRChannelGroups.cpp @@ -59,7 +59,7 @@ bool CPVRChannelGroups::GetGroupsFromClients(void) return g_PVRClients->GetChannelGroups(this) == PVR_ERROR_NO_ERROR; } -bool CPVRChannelGroups::Update(const CPVRChannelGroup &group, bool bSaveInDb) +bool CPVRChannelGroups::Update(const CPVRChannelGroup &group, bool bSaveInDb /* = false */) { if (group.GroupName().empty() && group.GroupID() <= 0) return true; diff --git a/xbmc/pvr/channels/PVRChannelGroups.h b/xbmc/pvr/channels/PVRChannelGroups.h index b564c7b79a..949c3958ef 100644 --- a/xbmc/pvr/channels/PVRChannelGroups.h +++ b/xbmc/pvr/channels/PVRChannelGroups.h @@ -69,7 +69,7 @@ namespace PVR * @param group The group to add * @return True when updated, false otherwise */ - bool UpdateFromClient(const CPVRChannelGroup &group) { return Update(group, false); } + bool UpdateFromClient(const CPVRChannelGroup &group) { return Update(group, true); } /*! * @brief Get a channel given it's path |