Skip to content

Commit

Permalink
highlight on initialization
Browse files Browse the repository at this point in the history
(cherry-picked from 9ff71a0)
  • Loading branch information
signedav committed Jul 12, 2018
1 parent 815b803 commit 8c44a6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/editorwidgets/qgsrelationreferencewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 8c44a6a

Please sign in to comment.