Use ChangeValue() during init so we don't fire events.

Fixes https://gitlab.com/kicad/code/kicad/issues/5030
This commit is contained in:
Jeff Young 2020-07-31 18:41:51 +01:00
parent 5c7a43b939
commit 0e3d9dd2f1
1 changed files with 1 additions and 1 deletions

View File

@ -560,7 +560,7 @@ void DIALOG_COLOR_PICKER::SetEditVals( CHANGED_COLOR aChanged, bool aCheckTransp
m_sliderBrightness->SetValue(normalizeToInt( m_val ) );
if( aChanged != HEX_CHANGED )
m_colorValue->SetValue( m_newColor4D.ToWxString( wxC2S_CSS_SYNTAX ) );
m_colorValue->ChangeValue( m_newColor4D.ToWxString( wxC2S_CSS_SYNTAX ) );
}