Load local settings even when not setting project active
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10179
(cherry picked from commit 0065036899
)
This commit is contained in:
parent
c4af66f6d3
commit
59be6a8d19
|
@ -867,6 +867,8 @@ bool SETTINGS_MANAGER::LoadProject( const wxString& aFullPath, bool aSetActive )
|
||||||
|
|
||||||
if( aSetActive )
|
if( aSetActive )
|
||||||
settings = RegisterSettings( settings );
|
settings = RegisterSettings( settings );
|
||||||
|
else
|
||||||
|
settings->LoadFromFile( path.GetPath() );
|
||||||
|
|
||||||
m_projects[fullPath]->setLocalSettings( settings );
|
m_projects[fullPath]->setLocalSettings( settings );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue