fix tooltip

This commit is contained in:
Eduardo Bart
2011-11-14 12:30:35 -02:00
parent ff7f152522
commit 5784644701
2 changed files with 28 additions and 14 deletions

View File

@@ -741,6 +741,7 @@ void UIWidget::applyStyle(const OTMLNodePtr& styleNode)
{
try {
onStyleApply(styleNode);
callLuaField("onStyleApply", styleNode);
} catch(std::exception& e) {
logError("failed to apply widget '", m_id, "' style: ", e.what());
}