Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
highlight on initialization
- Loading branch information
Showing
with
2 additions
and
0 deletions.
-
+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(); |
|
|
} |
|
|