Skip to content
Permalink
Browse files

Fix loading of QgsDataDefined from XML (fixes #14177)

  • Loading branch information
wonder-sk committed Jan 28, 2016
1 parent 4dd76da commit 5d466417af7966a91ab490429a6ee775fa0269a5
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/core/qgsdatadefined.cpp
@@ -330,7 +330,9 @@ bool QgsDataDefined::setFromXmlElement( const QDomElement &element )
d->active = element.attribute( "active" ).compare( "true", Qt::CaseInsensitive ) == 0;
d->useExpression = element.attribute( "useExpr" ).compare( "true", Qt::CaseInsensitive ) == 0;
d->field = element.attribute( "field" );
setExpressionString( element.attribute( "expr" ) );
d->expressionString = element.attribute( "expr" );
d->expressionPrepared = false;
d->exprRefColumns.clear();
return true;
}

0 comments on commit 5d46641

Please sign in to comment.
You can’t perform that action at this time.