Skip to content

Commit

Permalink
Fix relation reference widget in identification view
Browse files Browse the repository at this point in the history
References #108 (see comment)
  • Loading branch information
m-kuhn committed Feb 22, 2017
1 parent 7953c93 commit e974a84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qml/editorwidgets/RelationReference.qml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Item {
_relation = qgisProject.relationManager.relation(config['Relation'])
featureListModel.currentLayer = _relation.referencedLayer
featureListModel.keyField = _relation.resolveReferencedField(field.name)
currentIndex = featureListModel.findKey(value)
}

onCurrentIndexChanged: {
Expand Down

0 comments on commit e974a84

Please sign in to comment.