Skip to content
Permalink
Browse files

Merge pull request #1217 from nirvn/ftool_random_points_fix

[ftools] fix random points tool not recognizing memory layer integer column (fix #9695)
  • Loading branch information
alexbruy committed Mar 7, 2014
2 parents 9745dea + 0e90729 commit a089cff5f7194d984f619fa262ea1c0f336bb881
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/fTools/tools/doRandPoints.py
@@ -67,7 +67,7 @@ def update(self, inputLayer):
changedLayer = ftools_utils.getVectorLayerByName(inputLayer)
changedFields = ftools_utils.getFieldList(changedLayer)
for f in changedFields:
if f.typeName() == "Integer":
if f.typeName().lower() == "integer":
self.cmbField.addItem(unicode(f.name()))
else:
self.rdoUnstratified.setChecked(True)

0 comments on commit a089cff

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