mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Replaced all wxString.ToStdString() with wxString.ToUTF8().data()
to be sure that the strings are correctly converted to UTF8.
This commit is contained in:
@@ -509,7 +509,7 @@ void GUI_App::save_language()
|
||||
if (m_wxLocale)
|
||||
language = m_wxLocale->GetCanonicalName();
|
||||
|
||||
app_config->set("translation_language", language.ToStdString());
|
||||
app_config->set("translation_language", language.ToUTF8().data());
|
||||
app_config->save();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user