add options style for UIComboBox, fix push values of otml nodes

This commit is contained in:
Eduardo Bart
2012-01-16 06:26:57 -02:00
parent 186e3dc86b
commit e6cb3de637
5 changed files with 25 additions and 10 deletions

View File

@@ -364,6 +364,9 @@ void UIWidget::unlockChild(const UIWidgetPtr& child)
void UIWidget::applyStyle(const OTMLNodePtr& styleNode)
{
if(styleNode->size() == 0)
return;
m_loadingStyle = true;
try {
onStyleApply(styleNode->tag(), styleNode);