Skip to content
Permalink
Browse files
Restore layer variables when loading QML
Fix #14452
  • Loading branch information
m-kuhn committed Oct 21, 2016
1 parent b6ee239 commit 35f9aa29940378ae8711891e9fca944e1f10a1da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
@@ -1774,6 +1774,8 @@ bool QgsVectorLayer::readSymbology( const QDomNode& node, QString& errorMessage

mConditionalStyles->readXml( node );

readCustomProperties( node, "variable" );

return true;
}

@@ -1192,6 +1192,8 @@ bool QgsRasterLayer::readSymbology( const QDomNode& layer_node, QString& errorMe
setBlendMode( QgsPainting::getCompositionMode( static_cast< QgsPainting::BlendMode >( e.text().toInt() ) ) );
}

readCustomProperties( layer_node );

return true;
}

0 comments on commit 35f9aa2

Please sign in to comment.