Skip to content

Commit 62b30fc

Browse files
committedJul 11, 2013
Fix #8069
1 parent 1ed5d62 commit 62b30fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/fTools/tools/doRandPoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def randomize(self, inLayer, outPath, minimum, design, value):
198198
outFeat.initAttributes(1)
199199
if design == self.tr("unstratified"):
200200
ext = inLayer.extent()
201-
if inLayer.type() == inLayer.RasterLayer:
201+
if inLayer.type() == QgsMapLayer.RasterLayer:
202202
points = self.simpleRandom(int(value), ext, ext.xMinimum(),
203203
ext.xMaximum(), ext.yMinimum(), ext.yMaximum())
204204
else:

0 commit comments

Comments
 (0)
Please sign in to comment.