Skip to content
Permalink
Browse files

highlight on initialization

(cherry-picked from 9ff71a0)
  • Loading branch information
signedav committed Jul 11, 2018
1 parent 815b803 commit 8c44a6a0421d3e77dc6004cf773246246a214216
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 8c44a6a

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