Update GAL with wire dimensions before changing them.

This commit is contained in:
Jeff Young 2018-10-24 23:18:53 +01:00
parent 66a0f60b4c
commit 1f1bdc87bd
1 changed files with 3 additions and 1 deletions

View File

@ -672,9 +672,11 @@ bool SCH_EDIT_FRAME::BreakSegment( SCH_LINE* aSegment, const wxPoint& aPoint, bo
SaveCopyInUndoList( newSegment, UR_NEW, true );
newSegment->SetStartPoint( aPoint );
aSegment->SetEndPoint( aPoint );
AddToScreen( newSegment );
RefreshItem( aSegment );
aSegment->SetEndPoint( aPoint );
if( aNewSegment )
*aNewSegment = newSegment;