Remove extra write to common view control settings

Fixes https://gitlab.com/kicad/code/kicad/-/issues/4458
This commit is contained in:
Jon Evans 2020-05-15 21:37:17 -04:00
parent 9cf1e61d8a
commit 92ce7caf9a
1 changed files with 0 additions and 8 deletions

View File

@ -133,14 +133,6 @@ WX_VIEW_CONTROLS::WX_VIEW_CONTROLS( VIEW* aView, wxScrolledCanvas* aParentPanel
WX_VIEW_CONTROLS::~WX_VIEW_CONTROLS()
{
COMMON_SETTINGS* cfg = Pgm().GetCommonSettings();
if( cfg )
{
cfg->m_Input.mousewheel_pan = m_settings.m_enableMousewheelPan;
cfg->m_Input.center_on_zoom = m_settings.m_warpCursor;
cfg->m_Input.auto_pan = m_settings.m_autoPanSettingEnabled;
}
}