Save common settings if we just created them
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16775
This commit is contained in:
parent
181100fe44
commit
ba25f881c6
|
@ -70,6 +70,9 @@ SETTINGS_MANAGER::SETTINGS_MANAGER( bool aHeadless ) :
|
||||||
// Create the built-in color settings
|
// Create the built-in color settings
|
||||||
// Here to allow the Python API to access the built-in colors
|
// Here to allow the Python API to access the built-in colors
|
||||||
registerBuiltinColorSettings();
|
registerBuiltinColorSettings();
|
||||||
|
|
||||||
|
if( !wxFileExists( GetPathForSettingsFile( m_common_settings ) ) )
|
||||||
|
Save( m_common_settings );
|
||||||
}
|
}
|
||||||
|
|
||||||
SETTINGS_MANAGER::~SETTINGS_MANAGER()
|
SETTINGS_MANAGER::~SETTINGS_MANAGER()
|
||||||
|
|
Loading…
Reference in New Issue