mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-18 22:41:41 +00:00
LibTree selection should follow footprint after Save As.
Fixes https://gitlab.com/kicad/code/kicad/issues/9913
This commit is contained in:
parent
4f60d7ac78
commit
84e0feeee6
@ -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…
Reference in New Issue
Block a user