From f23a0298ed280fc6f1547899a4586b6e19eb7437 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Tue, 26 Oct 2021 14:22:35 +0200 Subject: [PATCH] ExportOutgoing notification should not show on upload --- src/slic3r/GUI/Plater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 57c8a2328..710a6ffd2 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -3294,6 +3294,7 @@ void Plater::priv::export_gcode(fs::path output_path, bool output_path_on_remova show_warning_dialog = true; if (! output_path.empty()) { background_process.schedule_export(output_path.string(), output_path_on_removable_media); + notification_manager->push_delayed_notification(NotificationType::ExportOngoing, []() {return true; }, 1000, 0); } else { background_process.schedule_upload(std::move(upload_job)); } @@ -4030,7 +4031,6 @@ void Plater::priv::on_export_began(wxCommandEvent& evt) { if (show_warning_dialog) warnings_dialog(); - notification_manager->push_delayed_notification(NotificationType::ExportOngoing, [](){return true;}, 1000, 0); } void Plater::priv::on_slicing_began() {