Skip to content
Snippets Groups Projects
Commit 5c0a654e authored by Jeff Young's avatar Jeff Young :flag_ua:
Browse files

Save project settings after Schematic Setup.

This prevents data from getting lost if we later crash.

Fixes #17859

(cherry picked from commit d8d81623)
parent edace908
No related branches found
No related tags found
Loading
Pipeline #1270964601 failed
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment