Skip the slider event to allow the stepping to work

The stepping is in a static event handler, so it is called
after the dynamic handler and so the dynamic handler must
allow the event to continue processing.

Fixes https://gitlab.com/kicad/code/kicad/issues/5319
This commit is contained in:
Ian McInerney 2020-08-29 23:38:58 +01:00
parent c17f832de1
commit dce8837940
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ void PANEL_COMMON_SETTINGS::applySettingsToPanel( COMMON_SETTINGS& aSettings )
void PANEL_COMMON_SETTINGS::OnScaleSlider( wxScrollEvent& aEvent ) void PANEL_COMMON_SETTINGS::OnScaleSlider( wxScrollEvent& aEvent )
{ {
m_iconScaleAuto->SetValue( false ); m_iconScaleAuto->SetValue( false );
aEvent.Skip();
} }