Loading pcbnew/edit.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -1374,7 +1374,7 @@ void PCB_EDIT_FRAME::OnSelectTool( wxCommandEvent& aEvent ) { std::string actionName = COMMON_ACTIONS::TranslateLegacyId( id ); if( !actionName.empty() ) if( !actionName.empty() || id == ID_NO_TOOL_SELECTED ) { const int MAX_TRIALS = 10; int trials = 0; Loading @@ -1389,6 +1389,7 @@ void PCB_EDIT_FRAME::OnSelectTool( wxCommandEvent& aEvent ) m_toolManager.ProcessEvent( cancel ); } if( !actionName.empty() ) m_toolManager.RunAction( actionName ); } } Loading Loading
pcbnew/edit.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -1374,7 +1374,7 @@ void PCB_EDIT_FRAME::OnSelectTool( wxCommandEvent& aEvent ) { std::string actionName = COMMON_ACTIONS::TranslateLegacyId( id ); if( !actionName.empty() ) if( !actionName.empty() || id == ID_NO_TOOL_SELECTED ) { const int MAX_TRIALS = 10; int trials = 0; Loading @@ -1389,6 +1389,7 @@ void PCB_EDIT_FRAME::OnSelectTool( wxCommandEvent& aEvent ) m_toolManager.ProcessEvent( cancel ); } if( !actionName.empty() ) m_toolManager.RunAction( actionName ); } } Loading