Skip to content

Commit

Permalink
[processing] Allow selection of non-spatial tables for create attribu…
Browse files Browse the repository at this point in the history
…te index alg
  • Loading branch information
nyalldawson committed Jan 6, 2017
1 parent e7e9ba0 commit bce716c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/processing/algs/qgis/CreateAttributeIndex.py
Expand Up @@ -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

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

self.addParameter(ParameterVector(self.INPUT,
self.tr('Input Layer')))
self.addParameter(ParameterTable(self.INPUT,
self.tr('Input Layer')))
self.addParameter(ParameterTableField(self.FIELD,
self.tr('Attribute to index'), self.INPUT))
self.addOutput(OutputVector(self.OUTPUT,
Expand Down

0 comments on commit bce716c

Please sign in to comment.