mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Do not open 'Did you know' notifications in gcodeviewer,
they make no sense and make slicer crash sometimes
This commit is contained in:
@@ -663,7 +663,7 @@ void GUI_App::post_init()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// show "Did you know" notification
|
// 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();
|
plater_->get_notification_manager()->push_hint_notification();
|
||||||
|
|
||||||
// The extra CallAfter() is needed because of Mac, where this is the only way
|
// The extra CallAfter() is needed because of Mac, where this is the only way
|
||||||
|
|||||||
Reference in New Issue
Block a user