diff --git a/eeschema/eeschema_config.cpp b/eeschema/eeschema_config.cpp index 3e31952556..4778dc69c2 100644 --- a/eeschema/eeschema_config.cpp +++ b/eeschema/eeschema_config.cpp @@ -192,7 +192,7 @@ void SCH_EDIT_FRAME::SaveSettings( APP_SETTINGS_BASE* aCfg ) void SCH_BASE_FRAME::LoadSettings( APP_SETTINGS_BASE* aCfg ) { - wxCHECK_RET( aCfg, wxT( "Call to SCH_BASE_FRAME::SaveSettings with null settings" ) ); + wxCHECK_RET( aCfg, wxT( "Call to SCH_BASE_FRAME::LoadSettings with null settings" ) ); EDA_DRAW_FRAME::LoadSettings( aCfg ); diff --git a/eeschema/files-io.cpp b/eeschema/files-io.cpp index 87212c9713..e0b16f1a11 100644 --- a/eeschema/files-io.cpp +++ b/eeschema/files-io.cpp @@ -1080,6 +1080,7 @@ bool SCH_EDIT_FRAME::SaveProject( bool aSaveAs ) } else { + RecordERCExclusions(); // ensure ERC Exclusions list is up to date GetSettingsManager()->SaveProject(); }