|
|
|
@ -741,7 +741,7 @@ int SCH_EDITOR_CONTROL::SimTune( const TOOL_EVENT& aEvent ) |
|
|
|
[this]( const VECTOR2D& aPosition ) |
|
|
|
{ |
|
|
|
EE_SELECTION_TOOL* selTool = m_toolMgr->GetTool<EE_SELECTION_TOOL>(); |
|
|
|
EDA_ITEM* item; |
|
|
|
EDA_ITEM* item = nullptr; |
|
|
|
selTool->SelectPoint( aPosition, fieldsAndComponents, &item ); |
|
|
|
|
|
|
|
if( !item ) |
|
|
|
|