From b2bfa24c98c86b02e9a5eeb11bf4fdb7b568e9b5 Mon Sep 17 00:00:00 2001 From: Mark Roszko Date: Fri, 13 Mar 2026 11:07:29 +0000 Subject: [PATCH] ERC dialog: make "Save..." button write listed violations the ERC dialog's save action always wrote (just) errors and warnings to the report, regardless of the violations listed in the dialog based on the checkboxes. that was different from the DRC dialog's behavior, which writes the selected severities to the report. this change makes the ERC dialog's "Save..." button behave the same as the DRC dialog's. (cherry picked from commit 42d202b6cf891216ecb2c907fa9c781e23dd90f4) Co-authored-by: Bernhard Kirchen --- eeschema/dialogs/dialog_erc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_erc.cpp b/eeschema/dialogs/dialog_erc.cpp index 84e192fe94..43e605f3c0 100644 --- a/eeschema/dialogs/dialog_erc.cpp +++ b/eeschema/dialogs/dialog_erc.cpp @@ -1081,7 +1081,7 @@ void DIALOG_ERC::OnSaveReport( wxCommandEvent& aEvent ) fn.MakeAbsolute( prj_path ); } - ERC_REPORT reportWriter( &m_parent->Schematic(), m_parent->GetUserUnits() ); + ERC_REPORT reportWriter( &m_parent->Schematic(), m_parent->GetUserUnits(), m_markerProvider ); bool success = false; if( fn.GetExt() == FILEEXT::JsonFileExtension )