Auto-zoom means auto-zoom. Other zoom settings do not.

Fixes https://gitlab.com/kicad/code/kicad/issues/6257
This commit is contained in:
Jeff Young 2020-11-05 19:49:30 +00:00
parent 37fb422516
commit 2b5f7d594b
3 changed files with 2 additions and 4 deletions

View File

@ -757,7 +757,6 @@ void FOOTPRINT_EDIT_FRAME::updateView()
GetCanvas()->UpdateColors();
GetCanvas()->DisplayBoard( GetBoard() );
m_toolManager->ResetTools( TOOL_BASE::MODEL_RELOAD );
m_toolManager->RunAction( ACTIONS::zoomFitScreen, true );
updateTitle();
}

View File

@ -98,6 +98,7 @@ void FOOTPRINT_EDIT_FRAME::LoadModuleFromLibrary( LIB_ID aFPID)
}
}
if( m_zoomSelectBox->GetSelection() == 0 )
Zoom_Automatique( false );
Update3DView( true );

View File

@ -126,7 +126,5 @@ bool FOOTPRINT_EDIT_FRAME::Clear_Pcb( bool aQuery )
GetScreen()->InitDataPoints( GetPageSizeIU() );
Zoom_Automatique( false );
return true;
}