ENH: reload font after switching language code

JIRA: STUDIO-8263

Change-Id: If44c5f2cf52e77fea0f1967d071a442fff5ee5b6
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2024-10-15 10:53:19 +08:00 committed by Lane.Wei
parent fbdc9cd580
commit e85b2fbf6f
1 changed files with 1 additions and 0 deletions

View File

@ -239,6 +239,7 @@ wxBoxSizer *PreferencesDialog::create_item_language_combobox(
Close();
// Reparent(nullptr);
GetParent()->RemoveChild(this);
Label::initSysFont(app_config->get_language_code());
wxGetApp().recreate_GUI(_L("Changing application language"));
}
}