Browse Source

Save common settings if we just created them

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16775
newinvert
Jon Evans 2 years ago
parent
commit
ba25f881c6
  1. 3
      common/settings/settings_manager.cpp

3
common/settings/settings_manager.cpp

@ -70,6 +70,9 @@ SETTINGS_MANAGER::SETTINGS_MANAGER( bool aHeadless ) :
// Create the built-in color settings
// Here to allow the Python API to access the built-in colors
registerBuiltinColorSettings();
if( !wxFileExists( GetPathForSettingsFile( m_common_settings ) ) )
Save( m_common_settings );
}
SETTINGS_MANAGER::~SETTINGS_MANAGER()

Loading…
Cancel
Save