Skip to content

Commit

Permalink
[ftools] add support for int64 fields (fix #15367)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Aug 1, 2016
1 parent b2a9a42 commit 3e43333
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/plugins/fTools/tools/doPointsInPolygon.py
Expand Up @@ -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)

Expand Down

0 comments on commit 3e43333

Please sign in to comment.