diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-07-19 07:08:46 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-07-19 07:08:46 +0000 |
commit | 84890efd1b829d518194b195768d31250e3115aa (patch) | |
tree | a8df068c37fd07375b6c246ff3de8d5909827d47 /guilib | |
parent | 780b3e785f9e00ab2bc98b99ac353f727632162a (diff) |
changed: If pushed updates are enabled on a group, enable it on the children
(cherry picked from commit f4d4a444d228445784b0bc8988402ab0e6da7b1d)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@31976 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r-- | guilib/GUIControlGroup.cpp | 1 | ||||
-rw-r--r-- | guilib/GUIListGroup.cpp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIControlGroup.cpp b/guilib/GUIControlGroup.cpp index ad6f6c448a..70eaa56f5a 100644 --- a/guilib/GUIControlGroup.cpp +++ b/guilib/GUIControlGroup.cpp @@ -497,6 +497,7 @@ void CGUIControlGroup::AddControl(CGUIControl *control, int position /* = -1*/) position = (int)m_children.size(); m_children.insert(m_children.begin() + position, control); control->SetParentControl(this); + control->SetPushUpdates(m_pushedUpdates); AddLookup(control); } diff --git a/guilib/GUIListGroup.cpp b/guilib/GUIListGroup.cpp index 19d5f722b2..215e2212f2 100644 --- a/guilib/GUIListGroup.cpp +++ b/guilib/GUIListGroup.cpp @@ -57,7 +57,6 @@ void CGUIListGroup::AddControl(CGUIControl *control, int position /*= -1*/) control->GetControlType() == CGUIControl::GUICONTROL_MULTISELECT || control->GetControlType() == CGUIControl::GUICONTROL_TEXTBOX)) CLog::Log(LOGWARNING, "Trying to add unsupported control type %d", control->GetControlType()); - control->SetPushUpdates(true); } CGUIControlGroup::AddControl(control, position); } |