Skip to content
Permalink
Browse files

Fix crash when saving categorized symbology

  • Loading branch information
mhugent authored and nyalldawson committed Feb 2, 2016
1 parent f077f1a commit 49af95700ded0bb29f8d36b2e7976ef6124ab8cb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgscategorizedsymbolrendererv2.cpp
@@ -726,7 +726,7 @@ QDomElement QgsCategorizedSymbolRendererV2::save( QDomDocument& doc )
QgsSymbolV2Map symbols;
QDomElement catsElem = doc.createElement( "categories" );
QgsCategoryList::const_iterator it = mCategories.constBegin();
for ( ; it != mCategories.end(); ++it )
for ( ; it != mCategories.constEnd(); ++it )
{
const QgsRendererCategoryV2& cat = *it;
QString symbolName = QString::number( i );

0 comments on commit 49af957

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