[Qgis-developer] feature setFields crashes

Nathan Woodrow madmanwoo at gmail.com
Thu Apr 25 00:53:02 PDT 2013


I think it is a scope thing, or object ownership.

Martin, is that what the issue is?

- Nathan


On Thu, Apr 25, 2013 at 5:51 PM, Denis Rouzaud <denis.rouzaud at gmail.com>wrote:

> Works like a charm!!!!
>
> Thanks a lot!!!!
>
>
> On 04/25/2013 09:49 AM, Nathan Woodrow wrote:
>
>> Denis,
>>
>> Try this:
>>
>> fields = layer.pendingFields()
>> f.setFields(fields)
>>
>> - Nathan
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130425/0a7fb6af/attachment.html>


More information about the Qgis-developer mailing list