Skip to content

Commit

Permalink
fix #7171
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 17, 2013
1 parent 7fb4649 commit ddaded8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/fTools/tools/doGeoprocessing.py
Expand Up @@ -464,7 +464,7 @@ def convex_hull(self, useField ):
GEOS_EXCEPT = True
FEATURE_EXCEPT = True
vproviderA = self.vlayerA.dataProvider()
writer = QgsVectorFileWriter( self.myName, self.myEncoding, vprovider.fields(),
writer = QgsVectorFileWriter( self.myName, self.myEncoding, vproviderA.fields(),
QGis.WKBPolygon, vproviderA.crs() )
if writer.hasError():
return GEOS_EXCEPT, FEATURE_EXCEPT, True, writer.errorMessage()
Expand Down

0 comments on commit ddaded8

Please sign in to comment.