Browse Source

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

Fixes https://gitlab.com/kicad/code/kicad/issues/6257
6.0.7
Jeff Young 5 years ago
parent
commit
2b5f7d594b
  1. 1
      pcbnew/footprint_edit_frame.cpp
  2. 3
      pcbnew/footprint_editor_utils.cpp
  3. 2
      pcbnew/initpcb.cpp

1
pcbnew/footprint_edit_frame.cpp

@ -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();
}

3
pcbnew/footprint_editor_utils.cpp

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

2
pcbnew/initpcb.cpp

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