Skip to content

Commit

Permalink
fixed saving of random color ramps.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/branches/symbology-ng-branch@11171 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jul 24, 2009
1 parent b6682c5 commit 974d9e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/symbology-ng/qgsstylev2.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 974d9e5

Please sign in to comment.