diff --git a/eeschema/tools/ee_inspection_tool.cpp b/eeschema/tools/ee_inspection_tool.cpp index a0179341ff..c3b24a9db8 100644 --- a/eeschema/tools/ee_inspection_tool.cpp +++ b/eeschema/tools/ee_inspection_tool.cpp @@ -71,19 +71,6 @@ bool EE_INSPECTION_TOOL::Init() } -void EE_INSPECTION_TOOL::Reset( RESET_REASON aReason ) -{ - EE_TOOL_BASE::Reset( aReason ); - - if( aReason == MODEL_RELOAD && m_frame ) - { - wxCommandEvent* evt = new wxCommandEvent( EDA_EVT_CLOSE_ERC_DIALOG, wxID_ANY ); - - wxQueueEvent( m_frame, evt ); - } -} - - int EE_INSPECTION_TOOL::RunERC( const TOOL_EVENT& aEvent ) { ShowERCDialog(); diff --git a/eeschema/tools/ee_inspection_tool.h b/eeschema/tools/ee_inspection_tool.h index 73e2df7cef..681a5232a0 100644 --- a/eeschema/tools/ee_inspection_tool.h +++ b/eeschema/tools/ee_inspection_tool.h @@ -45,8 +45,6 @@ public: /// @copydoc TOOL_INTERACTIVE::Init() bool Init() override; - void Reset( RESET_REASON aReason ) override; - int RunERC( const TOOL_EVENT& aEvent ); void ShowERCDialog();