From ded0b69629025ade4a280fcd60cb48506a0ab7bf Mon Sep 17 00:00:00 2001 From: tao wang Date: Wed, 30 Nov 2022 11:44:09 +0800 Subject: [PATCH] FIX:fixed the notification display error Change-Id: I2fad466b0c17286aa1f75f3a859eb9ad2329e2f2 --- src/slic3r/GUI/Plater.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 2bdc7bffd5..7fe8af428b 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -8984,8 +8984,8 @@ void Plater::export_gcode_3mf(bool export_all) void Plater::send_gcode_finish(wxString name) { - wxString out_str = wxString::Format(_L("The file %s has been sent to the printer's storage space and can be viewed on the printer."), name); - p->notification_manager->push_exporting_finished_notification(out_str.ToStdString(), "", false); + auto out_str = GUI::format(_L("The file %s has been sent to the printer's storage space and can be viewed on the printer."), name); + p->notification_manager->push_exporting_finished_notification(out_str, "", false); } void Plater::export_core_3mf()