FIX:fixed the notification display error

Change-Id: I2fad466b0c17286aa1f75f3a859eb9ad2329e2f2
This commit is contained in:
tao wang 2022-11-30 11:44:09 +08:00 committed by Lane.Wei
parent 27d2008037
commit ded0b69629

View file

@ -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()