mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-18 05:00:55 +00:00
Avoid message box if font load failure during startup (#8610)
Move init sys font into GUI_App, after logging has been set up properly (#8603) This avoid annoying messagebox if somehow failed to load font on windows, and write the message into log files instead
This commit is contained in:
1 parent
00a44ee48c
commit
d89520c8ae
2 files changed
+2
-1
No files matched your search
@@ -2202,6 +2202,8 @@ bool GUI_App::on_init_inner()
|
||||
wxLog::SetLogLevel(wxLOG_Message);
|
||||
#endif
|
||||
|
||||
::Label::initSysFont();
|
||||
|
||||
// Set initialization of image handlers before any UI actions - See GH issue #7469
|
||||
wxInitAllImageHandlers();
|
||||
#ifdef NDEBUG
|
||||
|
||||
Reference in new issue
Block a user