Skip to content

Commit

Permalink
Update src/gui/qgsattributeform.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
  • Loading branch information
nirvn and rouault committed Feb 5, 2024
1 parent 9f3df35 commit 55fb32e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/gui/qgsattributeform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1067,9 +1067,7 @@ void QgsAttributeForm::onAttributeChanged( const QVariant &value, const QVariant

// 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 );
whileBlocking( formEditorWidget->editorWidget() )->setValue( value );
}

updateConstraints( eww );
Expand Down

0 comments on commit 55fb32e

Please sign in to comment.