Skip to content

Commit 44efc17

Browse files
author
jef
committed
fix #2318
git-svn-id: http://svn.osgeo.org/qgis/trunk@12602 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent b2c10ff commit 44efc17

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/app/qgsgraduatedsymboldialog.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ QgsGraduatedSymbolDialog::QgsGraduatedSymbolDialog( QgsVectorLayer * layer ): QD
112112
sym->setBrush(( *it )->brush() );
113113
sym->setNamedPointSymbol(( *it )->pointSymbolName() );
114114
sym->setPointSize(( *it )->pointSize() );
115+
sym->setPointSizeUnits(( *it )->pointSizeUnits() );
115116
sym->setScaleClassificationField(( *it )->scaleClassificationField() );
116117
sym->setRotationClassificationField(( *it )->rotationClassificationField() );
117118
mEntries.insert( std::make_pair( classbreak, sym ) );
@@ -210,6 +211,7 @@ void QgsGraduatedSymbolDialog::apply()
210211
{
211212
sy->setNamedPointSymbol( it->second->pointSymbolName() );
212213
sy->setPointSize( it->second->pointSize() );
214+
sy->setPointSizeUnits( it->second->pointSizeUnits() );
213215
sy->setScaleClassificationField( it->second->scaleClassificationField() );
214216
sy->setRotationClassificationField( it->second->rotationClassificationField() );
215217
}

src/app/qgsuniquevaluedialog.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ QgsUniqueValueDialog::QgsUniqueValueDialog( QgsVectorLayer* vl ): QDialog(), mVe
8181
sym->setBrush( symbol->brush() );
8282
sym->setNamedPointSymbol( symbol->pointSymbolName() );
8383
sym->setPointSize( symbol->pointSize() );
84+
sym->setPointSizeUnits( symbol->pointSizeUnits() );
8485
sym->setScaleClassificationField( symbol->scaleClassificationField() );
8586
sym->setRotationClassificationField( symbol->rotationClassificationField() );
8687
mValues.insert( symbolvalue, sym );
@@ -141,6 +142,7 @@ void QgsUniqueValueDialog::apply()
141142
newsymbol->setBrush( symbol->brush() );
142143
newsymbol->setNamedPointSymbol( symbol->pointSymbolName() );
143144
newsymbol->setPointSize( symbol->pointSize() );
145+
newsymbol->setPointSizeUnits( symbol->pointSizeUnits() );
144146
newsymbol->setScaleClassificationField( symbol->scaleClassificationField() );
145147
newsymbol->setRotationClassificationField( symbol->rotationClassificationField() );
146148
renderer->insertValue( it.key(), newsymbol );

0 commit comments

Comments
 (0)