Fix clobbering of common settings
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16905
This commit is contained in:
parent
6e0d97df76
commit
9d57637a1a
|
@ -75,7 +75,10 @@ SETTINGS_MANAGER::SETTINGS_MANAGER( bool aHeadless ) :
|
|||
m_common_settings->GetFullFilename() );
|
||||
|
||||
if( !wxFileExists( commonSettings.GetFullPath() ) )
|
||||
{
|
||||
m_common_settings->Load();
|
||||
Save( m_common_settings );
|
||||
}
|
||||
}
|
||||
|
||||
SETTINGS_MANAGER::~SETTINGS_MANAGER()
|
||||
|
|
Loading…
Reference in New Issue