aboutsummaryrefslogtreecommitdiff
path: root/guilib
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-08-28 00:32:34 +0000
committerjmarshallnz <jmarshallnz@svn>2010-08-28 00:32:34 +0000
commit3de84d4b378277df499893591782ff3379571bb6 (patch)
treedd9f986e6d86954860b8152abb3ac0a8d57616f9 /guilib
parent712266a74bea62637f1afef5092a0f156018b0d8 (diff)
fixed: Ticket #9964 - Enabled/disabled status didn't get transferred to the underlying button control for settings spin/sliders. Thanks to Nuka1195.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33241 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r--guilib/GUISettingsSliderControl.cpp1
-rw-r--r--guilib/GUISpinControlEx.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/guilib/GUISettingsSliderControl.cpp b/guilib/GUISettingsSliderControl.cpp
index a149fc04e1..4edc3ba1e3 100644
--- a/guilib/GUISettingsSliderControl.cpp
+++ b/guilib/GUISettingsSliderControl.cpp
@@ -40,6 +40,7 @@ void CGUISettingsSliderControl::Render()
// make sure the button has focus if it should have...
m_buttonControl.SetFocus(HasFocus());
m_buttonControl.SetPulseOnSelect(m_pulseOnSelect);
+ m_buttonControl.SetEnabled(m_enabled);
m_buttonControl.Render();
CGUISliderControl::Render();
diff --git a/guilib/GUISpinControlEx.cpp b/guilib/GUISpinControlEx.cpp
index 23e0cec459..55319e3d80 100644
--- a/guilib/GUISpinControlEx.cpp
+++ b/guilib/GUISpinControlEx.cpp
@@ -67,6 +67,7 @@ void CGUISpinControlEx::Render()
// make sure the button has focus if it should have...
m_buttonControl.SetFocus(HasFocus());
m_buttonControl.SetPulseOnSelect(m_pulseOnSelect);
+ m_buttonControl.SetEnabled(m_enabled);
m_buttonControl.Render();
if (m_bInvalidated)
SetPosition(GetXPosition(), GetYPosition());