Skip to content

Commit 974d9e5

Browse files
author
wonder
committed
fixed saving of random color ramps.
git-svn-id: http://svn.osgeo.org/qgis/branches/symbology-ng-branch@11171 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent b6682c5 commit 974d9e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/symbology-ng/qgsstylev2.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ QgsVectorColorRampV2* QgsStyleV2::loadColorRamp(QDomElement& element)
352352

353353
if (rampType == "gradient")
354354
return QgsVectorGradientColorRampV2::create(props);
355+
else if (rampType == "random")
356+
return QgsVectorRandomColorRampV2::create(props);
355357
else
356358
{
357359
QgsDebugMsg("unknown colorramp type " + rampType);

0 commit comments

Comments
 (0)