diff --git a/pcbnew/moduleframe.cpp b/pcbnew/moduleframe.cpp index 77f1502c48..43ca40b670 100644 --- a/pcbnew/moduleframe.cpp +++ b/pcbnew/moduleframe.cpp @@ -958,12 +958,12 @@ void FOOTPRINT_EDIT_FRAME::setupTools() m_toolManager->RegisterTool( new MODULE_EDITOR_TOOLS ); m_toolManager->RegisterTool( new PLACEMENT_TOOL ); m_toolManager->RegisterTool( new PICKER_TOOL ); + m_toolManager->InitTools(); m_toolManager->GetTool()->SetEditModules( true ); m_toolManager->GetTool()->SetEditModules( true ); m_toolManager->GetTool()->SetEditModules( true ); - m_toolManager->ResetTools( TOOL_BASE::RUN ); m_toolManager->InvokeTool( "pcbnew.InteractiveSelection" ); } diff --git a/pcbnew/modview_frame.cpp b/pcbnew/modview_frame.cpp index ee3e3eb99e..93e43e1a43 100644 --- a/pcbnew/modview_frame.cpp +++ b/pcbnew/modview_frame.cpp @@ -199,7 +199,7 @@ FOOTPRINT_VIEWER_FRAME::FOOTPRINT_VIEWER_FRAME( KIWAY* aKiway, wxWindow* aParent drawPanel->SetEventDispatcher( m_toolDispatcher ); m_toolManager->RegisterTool( new PCBNEW_CONTROL ); - m_toolManager->ResetTools( TOOL_BASE::RUN ); + m_toolManager->InitTools(); // If a footprint was previously loaded, reload it if( getCurNickname().size() && getCurFootprintName().size() )