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:
Jon Evans 2022-01-02 12:40:25 -05:00
parent c4af66f6d3
commit 59be6a8d19
1 changed files with 2 additions and 0 deletions

View File

@ -867,6 +867,8 @@ bool SETTINGS_MANAGER::LoadProject( const wxString& aFullPath, bool aSetActive )
if( aSetActive )
settings = RegisterSettings( settings );
else
settings->LoadFromFile( path.GetPath() );
m_projects[fullPath]->setLocalSettings( settings );