Suppress wx error popups when locale is missing
This commit is contained in:
parent
5abf73e3c9
commit
bc45e3f16e
|
@ -709,6 +709,9 @@ bool PGM_BASE::SetLanguage( wxString& aErrMsg, bool first_time )
|
|||
|
||||
bool PGM_BASE::SetDefaultLanguage( wxString& aErrMsg )
|
||||
{
|
||||
// Suppress error popups from wxLocale
|
||||
wxLogNull doNotLog;
|
||||
|
||||
setLanguageId( wxLANGUAGE_DEFAULT );
|
||||
|
||||
// dictionary file name without extend (full name is kicad.mo)
|
||||
|
|
Loading…
Reference in New Issue