Skip to content

Commit

Permalink
[processing] fix join to layer with join (fix #10244)
Browse files Browse the repository at this point in the history
  • Loading branch information
minorua committed Jul 5, 2014
1 parent 361202e commit 228892c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/tools/vector.py
Expand Up @@ -260,10 +260,10 @@ def combineVectorFields(layerA, layerB):
"""Create single field map from two input field maps.
"""
fields = []
fieldsA = layerA.dataProvider().fields()
fieldsA = layerA.pendingFields()
fields.extend(fieldsA)
namesA = [unicode(f.name()).lower() for f in fieldsA]
fieldsB = layerB.dataProvider().fields()
fieldsB = layerB.pendingFields()
for field in fieldsB:
name = unicode(field.name()).lower()
if name in namesA:
Expand Down

0 comments on commit 228892c

Please sign in to comment.