Do not create selection with simulator probe tool
This commit is contained in:
parent
a15a91dc00
commit
1c28ea0577
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue