Fix of "exporting." notification not disappearing after error.

This commit is contained in:
David Kocik 2023-01-18 16:48:37 +01:00
parent bdcb773202
commit ba2cd8f3a7

View File

@ -4407,6 +4407,7 @@ void Plater::priv::on_process_completed(SlicingProcessCompletedEvent &evt)
} else { } else {
show_error(q, message.first, message.second); show_error(q, message.first, message.second);
notification_manager->set_slicing_progress_hidden(); notification_manager->set_slicing_progress_hidden();
notification_manager->stop_delayed_notifications_of_type(NotificationType::ExportOngoing);
} }
} else } else
notification_manager->push_slicing_error_notification(message.first); notification_manager->push_slicing_error_notification(message.first);