Skip to content

Commit 48ecee5

Browse files
committedMay 22, 2017
[processing] fix duplicates fields name in field calculator algorithm when switching between layers (followup c2699b4)
1 parent 403dc35 commit 48ecee5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,8 @@ def initContext(self):
116116

117117
def updateLayer(self, layer):
118118
self.layer = layer
119-
120-
self.initContext()
121119
self.builder.setLayer(self.layer)
122-
self.builder.loadFieldNames()
120+
self.initContext()
123121
self.populateFields()
124122

125123
def setupSpinboxes(self, index):

0 commit comments

Comments
 (0)
Please sign in to comment.