Skip to content

Commit

Permalink
[GUI] Avoid endless stack of signal emission in QgsValueRelationWidge…
Browse files Browse the repository at this point in the history
…tWrapper::populate() (fixes #55854)
  • Loading branch information
rouault authored and nyalldawson committed Jan 24, 2024
1 parent a9d213b commit a48cfd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgsvaluerelationwidgetwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ void QgsValueRelationWidgetWrapper::populate( )

if ( mComboBox )
{
mComboBox->clear();
whileBlocking( mComboBox )->clear();
if ( config( QStringLiteral( "AllowNull" ) ).toBool( ) )
{
whileBlocking( mComboBox )->addItem( tr( "(no selection)" ), QVariant( field().type( ) ) );
Expand Down

0 comments on commit a48cfd7

Please sign in to comment.