Save project settings after Schematic Setup.
This prevents data from getting lost if we later crash.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17859
(cherry picked from commit d8d816236c
)
This commit is contained in:
parent
edace908fb
commit
5c0a654e1e
|
@ -102,6 +102,7 @@ void SCH_EDIT_FRAME::ShowSchematicSetupDialog( const wxString& aInitialPage )
|
|||
|
||||
Prj().IncrementTextVarsTicker();
|
||||
Prj().IncrementNetclassesTicker();
|
||||
Pgm().GetSettingsManager().SaveProject();
|
||||
|
||||
GetRenderSettings()->SetDefaultPenWidth( Schematic().Settings().m_DefaultLineWidth );
|
||||
GetRenderSettings()->m_LabelSizeRatio = Schematic().Settings().m_LabelSizeRatio;
|
||||
|
|
Loading…
Reference in New Issue