Cleanup before exit.

Possibly KICAD-5TE.
This commit is contained in:
Jeff Young 2024-01-24 17:00:38 +00:00
parent d3bc59e0e7
commit b3f94ad46a
1 changed files with 9 additions and 0 deletions

View File

@ -2277,6 +2277,15 @@ int ROUTER_TOOL::InlineDrag( const TOOL_EVENT& aEvent )
if( wasLocked )
item->SetLocked( true );
if( !footprints.empty() )
connectivityData->ClearLocalRatsnest();
// Clear temporary COURTYARD_CONFLICT flag and ensure the conflict shadow is cleared
courtyardClearanceDRC.ClearConflicts( getView() );
controls()->ForceCursorPosition( false );
frame()->PopTool( aEvent );
highlightNets( false );
return 0;
}