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:
parent
fbdc9cd580
commit
e85b2fbf6f
|
@ -239,6 +239,7 @@ wxBoxSizer *PreferencesDialog::create_item_language_combobox(
|
||||||
Close();
|
Close();
|
||||||
// Reparent(nullptr);
|
// Reparent(nullptr);
|
||||||
GetParent()->RemoveChild(this);
|
GetParent()->RemoveChild(this);
|
||||||
|
Label::initSysFont(app_config->get_language_code());
|
||||||
wxGetApp().recreate_GUI(_L("Changing application language"));
|
wxGetApp().recreate_GUI(_L("Changing application language"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue