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 <[email protected]>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 >> > >
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
