Skip to content

Commit

Permalink
Fix for copy symbology bug (occured when copying unique value symbolo…
Browse files Browse the repository at this point in the history
…gies)

git-svn-id: http://svn.osgeo.org/qgis/trunk@5319 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Apr 20, 2006
1 parent 23024a5 commit 4bc9afb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/qgsuniquevaluerenderer.cpp
Expand Up @@ -39,7 +39,8 @@ QgsUniqueValueRenderer::QgsUniqueValueRenderer(const QgsUniqueValueRenderer& oth
{
mVectorType = other.mVectorType;
mClassificationField = other.mClassificationField;
for(std::map<QString, QgsSymbol*>::iterator it=mSymbols.begin(); it!=mSymbols.end(); ++it)
std::map<QString, QgsSymbol*> s = other.mSymbols;
for(std::map<QString, QgsSymbol*>::iterator it=s.begin(); it!=s.end(); ++it)
{
QgsSymbol* s = new QgsSymbol(*(it->second));
insertValue(it->first, s);
Expand Down

0 comments on commit 4bc9afb

Please sign in to comment.