Skip to content

Commit

Permalink
[processing] fix duplicates fields name in field calculator algorithm…
Browse files Browse the repository at this point in the history
… when switching between layers (followup 2185d42)

cherry-picked from 48ecee5
  • Loading branch information
slarosa committed May 22, 2017
1 parent 20dde72 commit 6c126a3
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -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):
Expand Down

0 comments on commit 6c126a3

Please sign in to comment.