Re-instate schematic-scope to dangling ends.

Fixes: lp:1803117
* https://bugs.launchpad.net/kicad/+bug/1803117
This commit is contained in:
Jeff Young 2018-11-13 20:57:13 +00:00
parent a60066115b
commit ac2e400598
2 changed files with 5 additions and 0 deletions

View File

@ -130,6 +130,10 @@ void SCH_EDIT_FRAME::HandleBlockPlace( wxDC* DC )
{ {
// This calls the block-abort command routine on cleanup // This calls the block-abort command routine on cleanup
m_canvas->EndMouseCapture( GetToolId(), GetGalCanvas()->GetCurrentCursor() ); m_canvas->EndMouseCapture( GetToolId(), GetGalCanvas()->GetCurrentCursor() );
// We set the dangling ends to the block-scope, so we must set them back to
// schematic-socpe.
TestDanglingEnds();
return; return;
} }

View File

@ -754,6 +754,7 @@ static void abortMoveItem( EDA_DRAW_PANEL* aPanel, wxDC* aDC )
parent->RefreshItem( currentItem ); parent->RefreshItem( currentItem );
} }
screen->TestDanglingEnds();
aPanel->Refresh(); aPanel->Refresh();
} }