Skip to content
Permalink
Browse files
[processing] fix duplicates fields name in field calculator algorithm…
… when switching between layers (followup 2185d42)

cherry-picked from 48ecee5
  • Loading branch information
slarosa committed May 22, 2017
1 parent 20dde72 commit 6c126a3a960d2d148e9d892a65e636773ef945bd
Showing with 1 addition and 2 deletions.
  1. +1 −2 python/plugins/processing/algs/qgis/ui/FieldsCalculatorDialog.py
@@ -102,9 +102,8 @@ def initContext(self):

def updateLayer(self):
self.layer = dataobjects.getObject(self.cmbInputLayer.currentText())
self.initContext()
self.builder.setLayer(self.layer)
self.builder.loadFieldNames()
self.initContext()
self.populateFields()

def setupSpinboxes(self, index):

0 comments on commit 6c126a3

Please sign in to comment.