[processing] boolean fieds support in the Refactor Fields algorithm (fix #17168)

This commit is contained in:
Alexander Bruy 2017-11-16 12:44:06 +02:00
parent 574c9f21e2
commit ee8ef42c42

View File

@ -16,7 +16,6 @@
* * * *
*************************************************************************** ***************************************************************************
""" """
from builtins import range
__author__ = 'Arnaud Morvan' __author__ = 'Arnaud Morvan'
__date__ = 'October 2014' __date__ = 'October 2014'
@ -76,7 +75,8 @@ class FieldsMappingModel(QAbstractTableModel):
(QVariant.Double, "Double"), (QVariant.Double, "Double"),
(QVariant.Int, "Integer"), (QVariant.Int, "Integer"),
(QVariant.LongLong, "Integer64"), (QVariant.LongLong, "Integer64"),
(QVariant.String, "String")]) (QVariant.String, "String"),
(QVariant.Bool, "Boolean")])
def __init__(self, parent=None): def __init__(self, parent=None):
super(FieldsMappingModel, self).__init__(parent) super(FieldsMappingModel, self).__init__(parent)