Skip to content

Commit

Permalink
[processing] change field access
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Ströbl committed Mar 16, 2016
1 parent bd64b4f commit cd267b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/Eliminate.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def processAlgorithm(self, progress):
comparisonvalue = self.getParameterValue(self.COMPARISONVALUE)

selectindex = vector.resolveFieldIndex(processLayer, attribute)
selectType = processLayer.dataProvider().fields()[selectindex].type()
selectType = processLayer.fields()[selectindex].type()
selectionError = False

if selectType == 2:
Expand Down

0 comments on commit cd267b0

Please sign in to comment.