Browse Source

Suppress wx error popups when locale is missing

7.0
Jon Evans 3 years ago
parent
commit
bc45e3f16e
  1. 3
      common/pgm_base.cpp

3
common/pgm_base.cpp

@ -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…
Cancel
Save