diff --git a/eeschema/tools/sch_edit_tool.cpp b/eeschema/tools/sch_edit_tool.cpp index 70a4658c9e..eaa3d2ca3f 100644 --- a/eeschema/tools/sch_edit_tool.cpp +++ b/eeschema/tools/sch_edit_tool.cpp @@ -155,12 +155,6 @@ bool SCH_EDIT_TOOL::Init() return !m_frame->GetScreen()->Items().empty(); }; - auto sheetTool = - [ this ] ( const SELECTION& aSel ) - { - return ( m_frame->IsCurrentTool( EE_ACTIONS::drawSheet ) ); - }; - auto anyTextTool = [ this ] ( const SELECTION& aSel ) {