Skip to content

Commit dcc9d39

Browse files
committed
fix categorized renderer crash (fixes #10096)
1 parent 63c1621 commit dcc9d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/symbology-ng/qgscategorizedsymbolrendererv2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ QgsSymbolV2* QgsCategorizedSymbolRendererV2::symbolForFeature( QgsFeature& featu
192192
}
193193
else
194194
{
195-
value = attrs[mAttrNum];
195+
value = attrs.value(mAttrNum);
196196
}
197197

198198
// find the right symbol for the category

0 commit comments

Comments
 (0)