Browse Source

LibTree selection should follow footprint after Save As.

Fixes https://gitlab.com/kicad/code/kicad/issues/9913
6.0.7
Jeff Young 4 years ago
parent
commit
84e0feeee6
  1. 3
      pcbnew/tools/footprint_editor_control.cpp

3
pcbnew/tools/footprint_editor_control.cpp

@ -302,7 +302,10 @@ int FOOTPRINT_EDITOR_CONTROL::SaveAs( const TOOL_EVENT& aEvent )
FOOTPRINT* footprint = m_frame->LoadFootprint( m_frame->GetTargetFPID() );
if( footprint && m_frame->SaveFootprintAs( footprint ) )
{
m_frame->SyncLibraryTree( true );
m_frame->FocusOnLibID( footprint->GetFPID() );
}
}
m_frame->RefreshLibraryTree();

Loading…
Cancel
Save