This commit is contained in:
Jon Evans 2024-02-07 08:54:52 -05:00
parent 36653c2064
commit 169114fd07
1 changed files with 4 additions and 1 deletions

View File

@ -71,7 +71,10 @@ SETTINGS_MANAGER::SETTINGS_MANAGER( bool aHeadless ) :
// Here to allow the Python API to access the built-in colors
registerBuiltinColorSettings();
if( !wxFileExists( GetPathForSettingsFile( m_common_settings ) ) )
wxFileName commonSettings( GetPathForSettingsFile( m_common_settings ),
m_common_settings->GetFullFilename() );
if( !wxFileExists( commonSettings.GetFullPath() ) )
Save( m_common_settings );
}