From 39d72a84df2e773eb67025d034744521b47efc8a Mon Sep 17 00:00:00 2001 From: John Beard Date: Sun, 10 Nov 2024 19:06:51 +0800 Subject: [PATCH] Pcbnew: register array tool in FP editor --- pcbnew/footprint_edit_frame.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/footprint_edit_frame.cpp b/pcbnew/footprint_edit_frame.cpp index abb6e7ccbc..4d7a4ae4d4 100644 --- a/pcbnew/footprint_edit_frame.cpp +++ b/pcbnew/footprint_edit_frame.cpp @@ -62,6 +62,7 @@ #include #include #include +#include #include #include #include @@ -1156,6 +1157,7 @@ void FOOTPRINT_EDIT_FRAME::setupTools() m_toolManager->RegisterTool( new ALIGN_DISTRIBUTE_TOOL ); m_toolManager->RegisterTool( new PCB_PICKER_TOOL ); m_toolManager->RegisterTool( new POSITION_RELATIVE_TOOL ); + m_toolManager->RegisterTool( new ARRAY_TOOL ); m_toolManager->RegisterTool( new PCB_VIEWER_TOOLS ); m_toolManager->RegisterTool( new GROUP_TOOL ); m_toolManager->RegisterTool( new CONVERT_TOOL );