From d8d816236c287547d84095bad49f954e5802e75c Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 27 Apr 2024 14:37:52 +0100 Subject: [PATCH] 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 --- eeschema/eeschema_config.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/eeschema_config.cpp b/eeschema/eeschema_config.cpp index a8ae9bcc58..4dde935456 100644 --- a/eeschema/eeschema_config.cpp +++ b/eeschema/eeschema_config.cpp @@ -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;