Index: gui/qgsgraduatedsymbolrenderer.cpp =================================================================== --- gui/qgsgraduatedsymbolrenderer.cpp (revision 5017) +++ gui/qgsgraduatedsymbolrenderer.cpp (working copy) @@ -49,15 +49,17 @@ { if(this != &other) { - mVectorType = other.mVectorType; - mClassificationField = other.mClassificationField; - removeSymbols(); - const std::list s = other.symbols(); - for(std::list::const_iterator it=s.begin(); it!=s.end(); ++it) - { - addSymbol(new QgsSymbol(**it)); - } + mVectorType = other.mVectorType; + mClassificationField = other.mClassificationField; + removeSymbols(); + const std::list s = other.symbols(); + for(std::list::const_iterator it=s.begin(); it!=s.end(); ++it) + { + addSymbol(new QgsSymbol(**it)); + } } + + return *this; } QgsGraduatedSymbolRenderer::~QgsGraduatedSymbolRenderer()