Skip to content
Permalink
Browse files

Fix on map identification on relation reference widget with complex PK

References #14882
  • Loading branch information
m-kuhn committed Jun 6, 2016
1 parent 781d0c3 commit bd3d1c48e0c058ad69e351737103dc3a571d71b7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/qgsrelationreferencewidget.cpp
@@ -707,7 +707,7 @@ void QgsRelationReferenceWidget::featureIdentified( const QgsFeature& feature )
}
else
{
mComboBox->setCurrentIndex( mComboBox->findData( feature.attribute( mReferencedFieldIdx ), QgsAttributeTableModel::FeatureIdRole ) );
mComboBox->setCurrentIndex( mComboBox->findData( feature.id(), QgsAttributeTableModel::FeatureIdRole ) );
mFeature = feature;
}

0 comments on commit bd3d1c4

Please sign in to comment.
You can’t perform that action at this time.