From bedd7855466475ccf2c7edd054e3afbfe39bbf05 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 13 Jan 2021 14:19:21 +0000 Subject: [PATCH] Implement pin cross-probing now that EEschema can select them. Fixes https://gitlab.com/kicad/code/kicad/issues/7084 --- eeschema/cross-probing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/cross-probing.cpp b/eeschema/cross-probing.cpp index b4238b7dde..3f33193b40 100644 --- a/eeschema/cross-probing.cpp +++ b/eeschema/cross-probing.cpp @@ -78,7 +78,7 @@ SCH_ITEM* SCH_EDITOR_CONTROL::FindComponentAndItem( const wxString& aReference, if( pin ) { pos = pin->GetPosition(); - foundItem = component; + foundItem = pin; break; } }