diff --git a/eeschema/tools/sch_edit_tool.cpp b/eeschema/tools/sch_edit_tool.cpp index 70aebdfa26..91c081de35 100644 --- a/eeschema/tools/sch_edit_tool.cpp +++ b/eeschema/tools/sch_edit_tool.cpp @@ -119,6 +119,7 @@ private: SCH_EDIT_TOOL::SCH_EDIT_TOOL() : EE_TOOL_BASE( "eeschema.InteractiveEdit" ) { + m_pickerItem = nullptr; } diff --git a/pcbnew/router/pns_tool_base.cpp b/pcbnew/router/pns_tool_base.cpp index cc24aede10..0b3696bf51 100644 --- a/pcbnew/router/pns_tool_base.cpp +++ b/pcbnew/router/pns_tool_base.cpp @@ -73,6 +73,8 @@ TOOL_BASE::TOOL_BASE( const std::string& aToolName ) : m_endItem = nullptr; m_gridHelper = nullptr; + + m_cancelled = false; }