Use ChangeValue() during init so we don't fire events.
Fixes https://gitlab.com/kicad/code/kicad/issues/5030
This commit is contained in:
parent
5c7a43b939
commit
0e3d9dd2f1
|
@ -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 ) );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue