Skip to content
Permalink
Browse files

highlight on initialization

  • Loading branch information
signedav committed Jul 11, 2018
1 parent 4c2e5ff commit 9ff71a0a9f764396ca9bba82d0c285d87ed44601
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/editorwidgets/qgsrelationreferencewidget.cpp
@@ -555,7 +555,9 @@ void QgsRelationReferenceWidget::init()

// Only connect after iterating, to have only one iterator on the referenced table at once
connect( mComboBox, static_cast<void ( QComboBox::* )( int )>( &QComboBox::currentIndexChanged ), this, &QgsRelationReferenceWidget::comboReferenceChanged );

mReferencedLayer->getFeatures( mComboBox->currentFeatureRequest() ).nextFeature( mFeature );
highlightFeature( mFeature );
updateAttributeEditorFrame( mFeature );
QApplication::restoreOverrideCursor();
}

0 comments on commit 9ff71a0

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