Skip to content
Permalink
Browse files

fix #2318

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12602 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 23, 2009
1 parent 6577605 commit 18cf365b52914cb7bec9188fe70bf7600406c343
Showing with 4 additions and 0 deletions.
  1. +2 −0 src/app/qgsgraduatedsymboldialog.cpp
  2. +2 −0 src/app/qgsuniquevaluedialog.cpp
@@ -112,6 +112,7 @@ QgsGraduatedSymbolDialog::QgsGraduatedSymbolDialog( QgsVectorLayer * layer ): QD
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 @@ void QgsGraduatedSymbolDialog::apply()
{
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() );
}
@@ -81,6 +81,7 @@ QgsUniqueValueDialog::QgsUniqueValueDialog( QgsVectorLayer* vl ): QDialog(), mVe
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 @@ void QgsUniqueValueDialog::apply()
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 );

0 comments on commit 18cf365

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