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
This commit is contained in:
parent
e26778c599
commit
d8d816236c
|
@ -113,6 +113,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