diff --git a/eeschema/tools/ee_selection_tool.cpp b/eeschema/tools/ee_selection_tool.cpp index 6314134782..c77454bdc9 100644 --- a/eeschema/tools/ee_selection_tool.cpp +++ b/eeschema/tools/ee_selection_tool.cpp @@ -49,7 +49,6 @@ #include #include #include -#include #include #include #include @@ -1037,7 +1036,7 @@ OPT_TOOL_EVENT EE_SELECTION_TOOL::autostartEvent( TOOL_EVENT* aEvent, EE_GRID_HE if( !pin->IsVisible() && !( m_frame->eeconfig()->m_Appearance.show_hidden_pins - || m_frame->GetRenderSettings()->m_ShowHiddenPins ) ) + || m_frame->GetRenderSettings()->m_ShowHiddenLibPins ) ) { return OPT_TOOL_EVENT(); }