Skip to content

Commit cda9f94

Browse files

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/wfs/qgswfsprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ int QgsWFSProvider::readAttributesFromSchema(QDomDocument& schemaDoc, QString& g
573573
}
574574
else //todo: distinguish between numerical and non-numerical types
575575
{
576-
fields[i] = QgsField(name, type);
576+
fields[fields.size()] = QgsField(name, type);
577577
}
578578
}
579579
return 0;

0 commit comments

Comments
 (0)
Please sign in to comment.