Skip to content
Permalink
Browse files

fix vector grid

git-svn-id: http://svn.osgeo.org/qgis/trunk@13105 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Mar 20, 2010
1 parent 51aef3c commit 364a099095eca82d128d68dc742ab31d5255021f
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/fTools/tools/doVectorGrid.py
@@ -103,7 +103,7 @@ def accept(self):
self.progressBar.setValue( 0 )

def compute( self, bound, xOffset, yOffset, polygon ):
crs = self.canvas.mapRenderer().destinationSrs()
crs = self.iface.mapCanvas().mapRenderer().destinationSrs()
if not crs.isValid(): crs = None
if polygon:
fields = {0:QgsField("ID", QVariant.Int), 1:QgsField("XMIN", QVariant.Double), 2:QgsField("XMAX", QVariant.Double),

0 comments on commit 364a099

Please sign in to comment.
You can’t perform that action at this time.