Skip to content

Commit 9ff71a0

Browse files
committed
highlight on initialization
1 parent 4c2e5ff commit 9ff71a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gui/editorwidgets/qgsrelationreferencewidget.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,9 @@ void QgsRelationReferenceWidget::init()
555555

556556
// Only connect after iterating, to have only one iterator on the referenced table at once
557557
connect( mComboBox, static_cast<void ( QComboBox::* )( int )>( &QComboBox::currentIndexChanged ), this, &QgsRelationReferenceWidget::comboReferenceChanged );
558+
558559
mReferencedLayer->getFeatures( mComboBox->currentFeatureRequest() ).nextFeature( mFeature );
560+
highlightFeature( mFeature );
559561
updateAttributeEditorFrame( mFeature );
560562
QApplication::restoreOverrideCursor();
561563
}

0 commit comments

Comments
 (0)