Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #52209 from qgis/backport-52183-to-queued_ltr_back…
…ports
  • Loading branch information
m-kuhn committed Mar 30, 2023
2 parents 28b18e0 + ce81a15 commit e528bd4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gui/qgsattributeform.cpp
Expand Up @@ -1070,7 +1070,12 @@ void QgsAttributeForm::onAttributeChanged( const QVariant &value, const QVariant
{
if ( formEditorWidget->editorWidget() == eww )
continue;

// formEditorWidget and eww points to the same field, so block signals
// as there is no need to handle valueChanged again for each duplicate
formEditorWidget->editorWidget()->blockSignals( true );
formEditorWidget->editorWidget()->setValue( value );
formEditorWidget->editorWidget()->blockSignals( false );
}

if ( !signalEmitted )
Expand Down

0 comments on commit e528bd4

Please sign in to comment.