Skip to content
Permalink
Browse files

fixed saving of random color ramps.

git-svn-id: http://svn.osgeo.org/qgis/branches/symbology-ng-branch@11171 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Jul 24, 2009
1 parent b6682c5 commit 974d9e58ce87ffe33699470829c2373199412d1b
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/symbology-ng/qgsstylev2.cpp
@@ -352,6 +352,8 @@ QgsVectorColorRampV2* QgsStyleV2::loadColorRamp(QDomElement& element)

if (rampType == "gradient")
return QgsVectorGradientColorRampV2::create(props);
else if (rampType == "random")
return QgsVectorRandomColorRampV2::create(props);
else
{
QgsDebugMsg("unknown colorramp type " + rampType);

0 comments on commit 974d9e5

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