Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fix reading of newly saved symbology properties (#40889)
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+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(); |
|
|