diff --git a/common/widgets/unit_binder.cpp b/common/widgets/unit_binder.cpp index a0960b2aca..1219801f1c 100644 --- a/common/widgets/unit_binder.cpp +++ b/common/widgets/unit_binder.cpp @@ -49,7 +49,10 @@ UNIT_BINDER::UNIT_BINDER( EDA_DRAW_FRAME* aParent, auto textEntry = dynamic_cast( m_value ); if( textEntry ) - textEntry->SetValue( wxT( "0" ) ); + { + // Use ChangeValue() instead of SetValue() so we don't generate events. + textEntry->ChangeValue( wxT( "0" ) ); + } m_unitLabel->SetLabel( GetAbbreviatedUnitsLabel( m_units, m_useMils ) );