From 1e12b99338300ae3e491b94124563e4c0c482527 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Sat, 14 Nov 2020 11:17:09 +0100 Subject: [PATCH] fix of segfault on startup at SplashScreen::SetText --- src/slic3r/GUI/GUI_App.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index bea8b6487..cab19796b 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -825,7 +825,9 @@ bool GUI_App::on_init_inner() // create splash screen with updated bmp scrn = new SplashScreen(bmp.IsOk() ? bmp : create_scaled_bitmap("prusa_slicer_logo", nullptr, 400), wxSPLASH_CENTRE_ON_SCREEN | wxSPLASH_TIMEOUT, 4000, splashscreen_pos); +#ifndef __linux__ wxYield(); +#endif scrn->SetText(_L("Loading configuration...")); }