mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-01 17:33:37 -05: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
@@ -1123,7 +1123,6 @@ int CLI::run(int argc, char **argv)
|
||||
bool start_gui = m_actions.empty() && !downward_check;
|
||||
if (start_gui) {
|
||||
BOOST_LOG_TRIVIAL(info) << "no action, start gui directly" << std::endl;
|
||||
::Label::initSysFont();
|
||||
#ifdef SLIC3R_GUI
|
||||
/*#if !defined(_WIN32) && !defined(__APPLE__)
|
||||
// likely some linux / unix system
|
||||
|
||||
Reference in new issue
Block a user