From 0ff8533c78ccd3fa0fcf59cfdf194fdc9bb734d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Sun, 13 Aug 2017 17:27:53 -0300 Subject: [PATCH] Set background drawable with "background" property. --HG-- branch : dev --- src/eepp/ui/uiwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eepp/ui/uiwidget.cpp b/src/eepp/ui/uiwidget.cpp index 90418dbb9..45eafefd8 100644 --- a/src/eepp/ui/uiwidget.cpp +++ b/src/eepp/ui/uiwidget.cpp @@ -388,7 +388,7 @@ void UIWidget::loadFromXmlNode( const pugi::xml_node& node ) { setBorderEnabled( true )->setColor( Color::fromString( ait->as_string() ) ); } else if ( "borderwidth" == name ) { setBorderEnabled( true )->setWidth( PixelDensity::toDpFromStringI( ait->as_string("1") ) ); - } else if ( "backgroundsrc" == name || "backgrounddrawable" == name ) { + } else if ( "background" == name ) { Drawable * res = NULL; if ( NULL != ( res = DrawableSearcher::searchByName( ait->as_string() ) ) ) {