Skip to content
Permalink
Browse files

Fix #8069

  • Loading branch information
ddanielvaz committed Jul 11, 2013
1 parent 1ed5d62 commit 62b30fcaaa1a0c7abc39cce12785551983947d57
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/fTools/tools/doRandPoints.py
@@ -198,7 +198,7 @@ def randomize(self, inLayer, outPath, minimum, design, value):
outFeat.initAttributes(1)
if design == self.tr("unstratified"):
ext = inLayer.extent()
if inLayer.type() == inLayer.RasterLayer:
if inLayer.type() == QgsMapLayer.RasterLayer:
points = self.simpleRandom(int(value), ext, ext.xMinimum(),
ext.xMaximum(), ext.yMinimum(), ext.yMaximum())
else:

0 comments on commit 62b30fc

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