Eeschema: ensure ERC exclusions list is up to date before saving it in *.kicad_pro
Fixes #10339 From master branch
This commit is contained in:
parent
7d4cb91f39
commit
3801a8adc0
|
@ -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 );
|
||||
|
||||
|
|
|
@ -1080,6 +1080,7 @@ bool SCH_EDIT_FRAME::SaveProject( bool aSaveAs )
|
|||
}
|
||||
else
|
||||
{
|
||||
RecordERCExclusions(); // ensure ERC Exclusions list is up to date
|
||||
GetSettingsManager()->SaveProject();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue