Skip to content

Commit

Permalink
[ftools] fix random points tool not recognizing memory layer integer …
Browse files Browse the repository at this point in the history
…column (fix #9695)
  • Loading branch information
nirvn committed Feb 26, 2014
1 parent 2d21b67 commit 0e90729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/fTools/tools/doRandPoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0e90729

Please sign in to comment.