Don't leave tools with stale state when reloading fp.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16414
This commit is contained in:
parent
2e02ca9d14
commit
6c39e67342
|
@ -1238,7 +1238,7 @@ void PCB_BASE_FRAME::OnFpChangeDebounceTimer( wxTimerEvent& aEvent )
|
|||
selectedItems.emplace_back( item->m_Uuid );
|
||||
}
|
||||
|
||||
m_toolManager->RunAction( PCB_ACTIONS::selectionClear );
|
||||
m_toolManager->ResetTools( TOOL_BASE::MODEL_RELOAD );
|
||||
|
||||
ReloadFootprint( newfp );
|
||||
|
||||
|
|
Loading…
Reference in New Issue