From 7d9cce1298b90c0cda2d9ae08bb30d5727bb75e8 Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Wed, 4 Aug 2021 10:20:59 +0200 Subject: [PATCH] Do not open 'Did you know' notifications in gcodeviewer, they make no sense and make slicer crash sometimes --- src/slic3r/GUI/GUI_App.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index b08a2ef80..9333efb20 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -663,7 +663,7 @@ void GUI_App::post_init() } // show "Did you know" notification - if (app_config->get("show_hints") == "1") + if (app_config->get("show_hints") == "1" && ! is_gcode_viewer()) plater_->get_notification_manager()->push_hint_notification(); // The extra CallAfter() is needed because of Mac, where this is the only way