Skip to content

Commit 6c126a3

Browse files
committedMay 22, 2017
[processing] fix duplicates fields name in field calculator algorithm when switching between layers (followup 2185d42)
cherry-picked from 48ecee5
1 parent 20dde72 commit 6c126a3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎python/plugins/processing/algs/qgis/ui/FieldsCalculatorDialog.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,8 @@ def initContext(self):
102102

103103
def updateLayer(self):
104104
self.layer = dataobjects.getObject(self.cmbInputLayer.currentText())
105-
self.initContext()
106105
self.builder.setLayer(self.layer)
107-
self.builder.loadFieldNames()
106+
self.initContext()
108107
self.populateFields()
109108

110109
def setupSpinboxes(self, index):

0 commit comments

Comments
 (0)
Please sign in to comment.