diff --git a/eeschema/tools/ee_selection_tool.cpp b/eeschema/tools/ee_selection_tool.cpp index b3871937e5..6314134782 100644 --- a/eeschema/tools/ee_selection_tool.cpp +++ b/eeschema/tools/ee_selection_tool.cpp @@ -49,6 +49,7 @@ #include #include #include +#include #include #include #include @@ -1034,8 +1035,12 @@ OPT_TOOL_EVENT EE_SELECTION_TOOL::autostartEvent( TOOL_EVENT* aEvent, EE_GRID_HE wxCHECK( pin, OPT_TOOL_EVENT() ); - if( !pin->IsVisible() && !m_frame->eeconfig()->m_Appearance.show_hidden_pins ) + if( !pin->IsVisible() + && !( m_frame->eeconfig()->m_Appearance.show_hidden_pins + || m_frame->GetRenderSettings()->m_ShowHiddenPins ) ) + { return OPT_TOOL_EVENT(); + } } newEvt->SetMousePosition( pos );