Skip to content
Permalink
Browse files

[ftools] add support for int64 fields (fix #15367)

  • Loading branch information
alexbruy committed Aug 1, 2016
1 parent b2a9a42 commit 3e433337d0578fb393994b982bfd1f87eec6cce1
Showing with 5 additions and 5 deletions.
  1. +5 −5 python/plugins/fTools/tools/doPointsInPolygon.py
@@ -79,13 +79,13 @@ def listPointFields(self):

self.attributeList.clear()
for field in pointFieldList:
if field.type() == QVariant.Int or field.type() == QVariant.Double:
if field.type() == QVariant.Int:
global typeInt
item = QListWidgetItem(unicode(field.name()), None, typeInt)
else:
if field.type() in [QVariant.Int, QVariant.Double, QVariant.LongLong, QVariant.UInt, QVariant.ULongLong]:
if field.type() == QVariant.Double:
global typeDouble
item = QListWidgetItem(unicode(field.name()), None, typeDouble)
else:
global typeInt
item = QListWidgetItem(unicode(field.name()), None, typeInt)
item.setToolTip("Attribute <%s> of type %s" % (field.name(), field.typeName()))
self.attributeList.addItem(item)

0 comments on commit 3e43333

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