mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-13 17:53:11 +02:00
Ensure ERC Exclusions are maintained
After we load/resolve the exclusions, we want to ensure that the resolved ones are re-recorded into the project file so that it always remains consistent with the state of the system. This way, if pcbnew closes first and re-saves the project, our exclusions are not lost until the schematic closes Fixes https://gitlab.com/kicad/code/kicad/-/issues/21410
This commit is contained in:
parent
eb753b8a1b
commit
5442e5050e
@ -906,6 +906,10 @@ void SCHEMATIC::ResolveERCExclusionsPostUpdate()
|
||||
else
|
||||
RootScreen()->Append( marker );
|
||||
}
|
||||
|
||||
// Once we have the ERC Exclusions, record them in the project file so that
|
||||
// they are retained even before the schematic is saved (PCB Editor can also save the project)
|
||||
RecordERCExclusions();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user