mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-13 12:07:41 +00:00
fix: temporary wxstring going out of scope causing crash on linux (#13925)
This commit is contained in:
@@ -2981,7 +2981,11 @@ bool GUI_App::on_init_inner()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (scrn) { scrn->SetText(_L("Creating main window") + dots); wxYield(); }
|
if (scrn) {
|
||||||
|
const auto scrn_txt = _L("Creating main window") + dots;
|
||||||
|
scrn->SetText(scrn_txt);
|
||||||
|
wxYield();
|
||||||
|
}
|
||||||
BOOST_LOG_TRIVIAL(info) << "create the main window";
|
BOOST_LOG_TRIVIAL(info) << "create the main window";
|
||||||
mainframe = new MainFrame();
|
mainframe = new MainFrame();
|
||||||
// hide settings tabs after first Layout
|
// hide settings tabs after first Layout
|
||||||
|
|||||||
Reference in New Issue
Block a user