Save language changes to file so they're picked up by other apps.
Fixes https://gitlab.com/kicad/code/kicad/issues/1939
This commit is contained in:
parent
173493b1a8
commit
625eca8170
|
@ -616,7 +616,9 @@ bool PGM_BASE::SetLanguage( bool first_time )
|
|||
}
|
||||
}
|
||||
|
||||
GetCommonSettings()->m_System.language = languageSel;
|
||||
COMMON_SETTINGS* cfg = GetCommonSettings();
|
||||
cfg->m_System.language = languageSel;
|
||||
cfg->SaveToFile( GetSettingsManager().GetPathForSettingsFile( cfg ) );
|
||||
}
|
||||
|
||||
// Test if floating point notation is working (bug encountered in cross compilation)
|
||||
|
|
Loading…
Reference in New Issue