diff options
Diffstat (limited to 'guilib/GUIControlFactory.cpp')
-rw-r--r-- | guilib/GUIControlFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guilib/GUIControlFactory.cpp b/guilib/GUIControlFactory.cpp index 26ded2d04b..124d84908e 100644 --- a/guilib/GUIControlFactory.cpp +++ b/guilib/GUIControlFactory.cpp @@ -157,7 +157,7 @@ bool CGUIControlFactory::GetAction(const TiXmlElement* pElement, CGUIActionDescr action.m_lang = CGUIActionDescriptor::LANG_PYTHON; else action.m_lang = CGUIActionDescriptor::LANG_XBMC; - + if (pElement->FirstChild()) { action.m_action = pElement->FirstChild()->Value(); @@ -1058,7 +1058,7 @@ CGUIControl* CGUIControlFactory::Create(int parentID, const CRect &rect, TiXmlEl if (bPassword) ((CGUIEditControl *) control)->SetInputType(CGUIEditControl::INPUT_TYPE_PASSWORD, 0); - ((CGUIEditControl *) control)->SetTextChangeActions(textChangeActions); + ((CGUIEditControl *) control)->SetTextChangeActions(textChangeActions); } else if (strType == "videowindow") { |