Skip to content

Commit

Permalink
Fix #8069
Browse files Browse the repository at this point in the history
  • Loading branch information
ddanielvaz committed Jul 11, 2013
1 parent 1ed5d62 commit 62b30fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/fTools/tools/doRandPoints.py
Expand Up @@ -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:
Expand Down

0 comments on commit 62b30fc

Please sign in to comment.