mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
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…
x
Reference in New Issue
Block a user