From 3124892fae2d7107f36adac17a3c92107994510e Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Mon, 1 Nov 2021 12:52:45 +0100 Subject: [PATCH] Fixed a tripping assert --- src/slic3r/GUI/GUI_App.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index f52dd3d58f..49fbb8a313 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -673,8 +673,7 @@ void GUI_App::post_init() // to popup a modal dialog on start without screwing combo boxes. // This is ugly but I honestly found no better way to do it. // Neither wxShowEvent nor wxWindowCreateEvent work reliably. - assert(this->preset_updater); // FIXME Following condition is probably not neccessary. - if (this->preset_updater) { + if (this->preset_updater) { // G-Code Viewer does not initialize preset_updater. this->check_updates(false); CallAfter([this] { bool cw_showed = this->config_wizard_startup();