From 169114fd0768653842293223ac032bc9ff0dde0f Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Wed, 7 Feb 2024 08:54:52 -0500 Subject: [PATCH] Fix path from ba25f881c6 --- common/settings/settings_manager.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/settings/settings_manager.cpp b/common/settings/settings_manager.cpp index f1b75fe87f..eaf0a95158 100644 --- a/common/settings/settings_manager.cpp +++ b/common/settings/settings_manager.cpp @@ -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 ); }