Skip to content
Permalink
Browse files

fix reading of newly saved symbology properties (#40889)

  • Loading branch information
3nids committed Jan 7, 2021
1 parent 1181c36 commit eedbd3b5f7610cb7abbc5de05bf68cfaa8f9b75a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology/qgssymbollayerutils.cpp
@@ -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();

0 comments on commit eedbd3b

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