Skip to content
Permalink
Browse files

[processing] change field access

  • Loading branch information
bstroebl committed Mar 16, 2016
1 parent bd64b4f commit cd267b066c42799c19c3cc0b5194eb3a8bdc97f7
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/Eliminate.py
@@ -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:

0 comments on commit cd267b0

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