Exporting notification-no fading style

This commit is contained in:
76Octane
2023-08-18 19:21:29 +08:00
parent 42a146b5af
commit ff4834edd2
3 changed files with 15 additions and 4 deletions

View File

@@ -3463,7 +3463,7 @@ void Plater::priv::export_gcode(fs::path output_path, bool output_path_on_remova
background_process.schedule_export(output_path.string(), output_path_on_removable_media);
//Y9
//notification_manager->push_delayed_notification(NotificationType::ExportOngoing, []() {return true; }, 1000, 0);
notification_manager->push_notification(NotificationType::ExportOngoing, NotificationManager::NotificationLevel::ProgressBarNotificationLevel, "aaa");
notification_manager->push_notification(NotificationType::ExportOngoing, NotificationManager::NotificationLevel::ProgressBarNotificationLevel, "Exporting");
} else {
background_process.schedule_upload(std::move(upload_job));
}