Do not create selection with simulator probe tool

This commit is contained in:
Mikolaj Wielgus 2021-07-06 20:16:00 +02:00 committed by Jon Evans
parent a15a91dc00
commit 1c28ea0577
1 changed files with 1 additions and 2 deletions

View File

@ -633,8 +633,7 @@ int SCH_EDITOR_CONTROL::SimProbe( const TOOL_EVENT& aEvent )
[this, simFrame]( const VECTOR2D& aPosition )
{
EE_SELECTION_TOOL* selTool = m_toolMgr->GetTool<EE_SELECTION_TOOL>();
EDA_ITEM* item = nullptr;
selTool->SelectPoint( aPosition, wiresAndPins, &item );
EDA_ITEM* item = selTool->GetNode( aPosition );
if( !item )
return false;