Use a bigger hammer to update adjacent segments.
Fixes https://gitlab.com/kicad/code/kicad/issues/9927
This commit is contained in:
parent
d9dba2edb2
commit
ee5db73113
|
@ -633,7 +633,7 @@ void EE_POINT_EDITOR::updateParentItem() const
|
||||||
else if( connected.second == ENDPOINT )
|
else if( connected.second == ENDPOINT )
|
||||||
static_cast<SCH_LINE*>( connected.first )->SetEndPoint( line->GetPosition() );
|
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();
|
connected = m_editPoints->Point( LINE_END ).GetConnected();
|
||||||
|
@ -645,7 +645,7 @@ void EE_POINT_EDITOR::updateParentItem() const
|
||||||
else if( connected.second == ENDPOINT )
|
else if( connected.second == ENDPOINT )
|
||||||
static_cast<SCH_LINE*>( connected.first )->SetEndPoint( line->GetEndPoint() );
|
static_cast<SCH_LINE*>( connected.first )->SetEndPoint( line->GetEndPoint() );
|
||||||
|
|
||||||
getView()->Update( connected.first, KIGFX::GEOMETRY );
|
updateItem( connected.first, true );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue