mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Localization: Fixed localization of some 3d-Scene notifications
+ Move a call of the load_language() before SplashScreen creation
This commit is contained in:
parent
65766c24f6
commit
6846ba0b59
3 changed files with 13 additions and 13 deletions
|
@ -799,6 +799,9 @@ bool GUI_App::on_init_inner()
|
|||
app_config->set("version", SLIC3R_VERSION);
|
||||
app_config->save();
|
||||
|
||||
// If load_language() fails, the application closes.
|
||||
load_language(wxString(), true);
|
||||
|
||||
wxInitAllImageHandlers();
|
||||
|
||||
SplashScreen* scrn = nullptr;
|
||||
|
@ -866,9 +869,6 @@ bool GUI_App::on_init_inner()
|
|||
init_label_colours();
|
||||
init_fonts();
|
||||
|
||||
// If load_language() fails, the application closes.
|
||||
load_language(wxString(), true);
|
||||
|
||||
// Suppress the '- default -' presets.
|
||||
preset_bundle->set_default_suppressed(app_config->get("no_defaults") == "1");
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue