Auto-start-wire tool requires an up-to-date connectivity.

Fixes https://gitlab.com/kicad/code/kicad/issues/9628
This commit is contained in:
Jeff Young 2021-11-25 00:55:03 +00:00
parent 5d751bef74
commit 5e6da9f964
1 changed files with 1 additions and 0 deletions

View File

@ -631,6 +631,7 @@ int EE_SELECTION_TOOL::Main( const TOOL_EVENT& aEvent )
if( m_frame->eeconfig()->m_Drawing.auto_start_wires
&& pt_tool && !pt_tool->HasPoint()
&& !collector[0]->IsConnectivityDirty()
&& collector[0]->IsPointClickableAnchor( (wxPoint) snappedCursorPos ) )
{
SCH_CONNECTION* connection = collector[0]->Connection();