Skip to content

Commit

Permalink
fix #2318
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12602 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 23, 2009
1 parent 6577605 commit 18cf365
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgsgraduatedsymboldialog.cpp
Expand Up @@ -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 ) );
Expand Down Expand Up @@ -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() );
}
Expand Down
2 changes: 2 additions & 0 deletions src/app/qgsuniquevaluedialog.cpp
Expand Up @@ -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 );
Expand Down Expand Up @@ -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 );
Expand Down

0 comments on commit 18cf365

Please sign in to comment.