Use a bigger hammer to update adjacent segments.

Fixes https://gitlab.com/kicad/code/kicad/issues/9927
This commit is contained in:
Jeff Young 2021-12-22 12:59:40 +00:00
parent d9dba2edb2
commit ee5db73113
1 changed files with 2 additions and 2 deletions

View File

@ -633,7 +633,7 @@ void EE_POINT_EDITOR::updateParentItem() const
else if( connected.second == ENDPOINT )
static_cast<SCH_LINE*>( connected.first )->SetEndPoint( line->GetPosition() );
getView()->Update( connected.first, KIGFX::GEOMETRY );
updateItem( connected.first, true );
}
connected = m_editPoints->Point( LINE_END ).GetConnected();
@ -645,7 +645,7 @@ void EE_POINT_EDITOR::updateParentItem() const
else if( connected.second == ENDPOINT )
static_cast<SCH_LINE*>( connected.first )->SetEndPoint( line->GetEndPoint() );
getView()->Update( connected.first, KIGFX::GEOMETRY );
updateItem( connected.first, true );
}
}
break;