Skip to content

Commit 93158e7

Browse files
committed
Small fix for svg parameter replacement
1 parent 3ca7458 commit 93158e7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/core/symbology-ng/qgssvgcache.cpp

+6-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,12 @@ void QgsSvgCache::replaceElemParams( QDomElement& elem, const QColor& fill, cons
366366
{
367367
value = QString::number( outlineWidth );
368368
}
369-
newAttributeString.append( key + ":" + value + ";" );
369+
370+
if( entryIt != entryList.constBegin() )
371+
{
372+
newAttributeString.append(";");
373+
}
374+
newAttributeString.append( key + ":" + value );
370375
}
371376
elem.setAttribute( attribute.name(), newAttributeString );
372377
}

0 commit comments

Comments
 (0)