Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/fTools/tools/doRandPoints.py
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