Skip to content

Commit 49af957

Browse files
mhugentnyalldawson
authored andcommitted
Fix crash when saving categorized symbology
1 parent f077f1a commit 49af957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/symbology-ng/qgscategorizedsymbolrendererv2.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ QDomElement QgsCategorizedSymbolRendererV2::save( QDomDocument& doc )
726726
QgsSymbolV2Map symbols;
727727
QDomElement catsElem = doc.createElement( "categories" );
728728
QgsCategoryList::const_iterator it = mCategories.constBegin();
729-
for ( ; it != mCategories.end(); ++it )
729+
for ( ; it != mCategories.constEnd(); ++it )
730730
{
731731
const QgsRendererCategoryV2& cat = *it;
732732
QString symbolName = QString::number( i );

0 commit comments

Comments
 (0)