Skip to content

Commit

Permalink
fix reading of newly saved symbology properties (#40889)
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 7, 2021
1 parent 1181c36 commit eedbd3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology/qgssymbollayerutils.cpp
Expand Up @@ -2951,7 +2951,7 @@ QgsStringMap QgsSymbolLayerUtils::getVendorOptionList( QDomElement &element )

QVariantMap QgsSymbolLayerUtils::parseProperties( const QDomElement &element )
{
QVariant newSymbols = QgsXmlUtils::readVariant( element );
QVariant newSymbols = QgsXmlUtils::readVariant( element.firstChildElement( QStringLiteral( "Option" ) ) );
if ( newSymbols.type() == QVariant::Map )
{
return newSymbols.toMap();
Expand Down

0 comments on commit eedbd3b

Please sign in to comment.