Skip to content
Permalink
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/CreateAttributeIndex.py
@@ -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.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,

0 comments on commit bce716c

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