Skip to content

Commit cd267b0

Browse files
author
Bernhard Ströbl
committedMar 16, 2016
[processing] change field access
1 parent bd64b4f commit cd267b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/qgis/Eliminate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def processAlgorithm(self, progress):
110110
comparisonvalue = self.getParameterValue(self.COMPARISONVALUE)
111111

112112
selectindex = vector.resolveFieldIndex(processLayer, attribute)
113-
selectType = processLayer.dataProvider().fields()[selectindex].type()
113+
selectType = processLayer.fields()[selectindex].type()
114114
selectionError = False
115115

116116
if selectType == 2:

0 commit comments

Comments
 (0)
Please sign in to comment.