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 e80e541 commit f8dccf87714488491d07f69495f4ed44148daabd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/qgsrelationreferencewidget.cpp
@@ -749,7 +749,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 f8dccf8

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