diff --git a/pcbnew/modview_frame.cpp b/pcbnew/modview_frame.cpp index 5e21d39c06..7cb36959a7 100644 --- a/pcbnew/modview_frame.cpp +++ b/pcbnew/modview_frame.cpp @@ -55,6 +55,7 @@ #include #include +#include #include "tools/pcbnew_control.h" #include "tools/pcb_actions.h" @@ -201,6 +202,7 @@ FOOTPRINT_VIEWER_FRAME::FOOTPRINT_VIEWER_FRAME( KIWAY* aKiway, wxWindow* aParent drawPanel->SetEventDispatcher( m_toolDispatcher ); m_toolManager->RegisterTool( new PCBNEW_CONTROL ); + m_toolManager->RegisterTool( new COMMON_TOOLS ); m_toolManager->InitTools(); // If a footprint was previously loaded, reload it