Skip to content

Commit

Permalink
[processing] changed input type from vector layer to table for execut…
Browse files Browse the repository at this point in the history
…e sql algorithm
  • Loading branch information
volaya committed Dec 5, 2016
1 parent 16da906 commit b7daf9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/gdal/ogrsql.py
Expand Up @@ -26,7 +26,7 @@
__revision__ = '$Format:%H$'

from processing.core.GeoAlgorithmExecutionException import GeoAlgorithmExecutionException
from processing.core.parameters import ParameterVector
from processing.core.parameters import ParameterTable
from processing.core.parameters import ParameterString
from processing.core.parameters import ParameterSelection
from processing.core.outputs import OutputVector
Expand All @@ -51,7 +51,7 @@ def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Execute SQL')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Miscellaneous')

self.addParameter(ParameterVector(self.INPUT, self.tr('Input layer')))
self.addParameter(ParameterTable(self.INPUT, self.tr('Input layer or table')))
self.addParameter(ParameterString(self.SQL, self.tr('SQL'), ''))

self.addParameter(ParameterSelection(
Expand Down

0 comments on commit b7daf9b

Please sign in to comment.