Skip to content
Permalink
Browse files

[ftools] fix random points tool not recognizing memory layer integer …

…column (fix #9695)
  • Loading branch information
nirvn committed Feb 26, 2014
1 parent 2d21b67 commit 0e907298deee8c0ab4e27110a49dc6ef233e134b
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 0e90729

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