Skip to content
Browse files
[processing] Allow selection of non-spatial tables for create attribu…
…te index alg
  • Loading branch information
nyalldawson committed Jan 6, 2017
1 parent e7e9ba0 commit bce716c8b1e980f3ddaba68fd202daba04b77a2e
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/algs/qgis/
@@ -28,7 +28,7 @@
from qgis.core import QgsVectorDataProvider, QgsFields

from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.core.parameters import ParameterVector
from processing.core.parameters import ParameterTable
from processing.core.parameters import ParameterTableField
from processing.core.outputs import OutputVector

@@ -45,8 +45,8 @@ def defineCharacteristics(self):, self.i18n_name = self.trAlgorithm('Create attribute index'), self.i18n_group = self.trAlgorithm('Vector general tools')

self.addParameter(ParameterVector(self.INPUT,'Input Layer')))
self.addParameter(ParameterTable(self.INPUT,'Input Layer')))
self.addParameter(ParameterTableField(self.FIELD,'Attribute to index'), self.INPUT))

0 comments on commit bce716c

Please sign in to comment.