[QGIS Commit] r14406 - trunk/qgis/src/core/symbology-ng
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Oct 18 17:13:44 EDT 2010
Author: wonder
Date: 2010-10-18 14:13:44 -0700 (Mon, 18 Oct 2010)
New Revision: 14406
Modified:
trunk/qgis/src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
Log:
Remember the classification mode in graduated symbol renderer (v2)
Modified: trunk/qgis/src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
===================================================================
--- trunk/qgis/src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp 2010-10-18 20:22:01 UTC (rev 14405)
+++ trunk/qgis/src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp 2010-10-18 21:13:44 UTC (rev 14406)
@@ -267,6 +267,7 @@
QgsFeatureRendererV2* QgsGraduatedSymbolRendererV2::clone()
{
QgsGraduatedSymbolRendererV2* r = new QgsGraduatedSymbolRendererV2( mAttrName, mRanges );
+ r->setMode( mMode );
if ( mSourceSymbol )
r->setSourceSymbol( mSourceSymbol->clone() );
if ( mSourceColorRamp )
More information about the QGIS-commit
mailing list