[QGIS Commit] r12602 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Dec 23 14:56:04 EST 2009


Author: jef
Date: 2009-12-23 14:56:04 -0500 (Wed, 23 Dec 2009)
New Revision: 12602

Modified:
   trunk/qgis/src/app/qgsgraduatedsymboldialog.cpp
   trunk/qgis/src/app/qgsuniquevaluedialog.cpp
Log:
fix #2318

Modified: trunk/qgis/src/app/qgsgraduatedsymboldialog.cpp
===================================================================
--- trunk/qgis/src/app/qgsgraduatedsymboldialog.cpp	2009-12-23 16:41:22 UTC (rev 12601)
+++ trunk/qgis/src/app/qgsgraduatedsymboldialog.cpp	2009-12-23 19:56:04 UTC (rev 12602)
@@ -112,6 +112,7 @@
       sym->setBrush(( *it )->brush() );
       sym->setNamedPointSymbol(( *it )->pointSymbolName() );
       sym->setPointSize(( *it )->pointSize() );
+      sym->setPointSizeUnits(( *it )->pointSizeUnits() );
       sym->setScaleClassificationField(( *it )->scaleClassificationField() );
       sym->setRotationClassificationField(( *it )->rotationClassificationField() );
       mEntries.insert( std::make_pair( classbreak, sym ) );
@@ -210,6 +211,7 @@
     {
       sy->setNamedPointSymbol( it->second->pointSymbolName() );
       sy->setPointSize( it->second->pointSize() );
+      sy->setPointSizeUnits( it->second->pointSizeUnits() );
       sy->setScaleClassificationField( it->second->scaleClassificationField() );
       sy->setRotationClassificationField( it->second->rotationClassificationField() );
     }

Modified: trunk/qgis/src/app/qgsuniquevaluedialog.cpp
===================================================================
--- trunk/qgis/src/app/qgsuniquevaluedialog.cpp	2009-12-23 16:41:22 UTC (rev 12601)
+++ trunk/qgis/src/app/qgsuniquevaluedialog.cpp	2009-12-23 19:56:04 UTC (rev 12602)
@@ -81,6 +81,7 @@
         sym->setBrush( symbol->brush() );
         sym->setNamedPointSymbol( symbol->pointSymbolName() );
         sym->setPointSize( symbol->pointSize() );
+        sym->setPointSizeUnits( symbol->pointSizeUnits() );
         sym->setScaleClassificationField( symbol->scaleClassificationField() );
         sym->setRotationClassificationField( symbol->rotationClassificationField() );
         mValues.insert( symbolvalue, sym );
@@ -141,6 +142,7 @@
     newsymbol->setBrush( symbol->brush() );
     newsymbol->setNamedPointSymbol( symbol->pointSymbolName() );
     newsymbol->setPointSize( symbol->pointSize() );
+    newsymbol->setPointSizeUnits( symbol->pointSizeUnits() );
     newsymbol->setScaleClassificationField( symbol->scaleClassificationField() );
     newsymbol->setRotationClassificationField( symbol->rotationClassificationField() );
     renderer->insertValue( it.key(), newsymbol );



More information about the QGIS-commit mailing list