Allow simulation probe of junctions

Fixes https://gitlab.com/kicad/code/kicad/issues/13712
This commit is contained in:
JamesJCode 2023-01-30 23:13:24 +00:00
parent 418f8e6f14
commit 8590745e9c
1 changed files with 2 additions and 1 deletions

View File

@ -519,7 +519,8 @@ int SCH_EDITOR_CONTROL::SimProbe( const TOOL_EVENT& aEvent )
DisplayErrorMessage( m_frame, e.What() );
}
}
else if( item->IsType( { SCH_ITEM_LOCATE_WIRE_T } ) )
else if( item->IsType( { SCH_ITEM_LOCATE_WIRE_T } )
|| item->IsType( { SCH_JUNCTION_T } ) )
{
if( SCH_CONNECTION* conn = static_cast<SCH_ITEM*>( item )->Connection() )
{