ENH: fix the shown text

jira: [STUDIO-11407]
Change-Id: Ic1286621d4d85e2ab18b5b61c7ed2f055576c5b3
This commit is contained in:
xin.zhang 2025-04-08 21:06:49 +08:00 committed by lane.wei
parent 63e6890cc7
commit 65868cf603
1 changed files with 2 additions and 2 deletions

View File

@ -1363,11 +1363,11 @@ void SendToPrinterDialog::update_show_status()
wxCommandEvent *evt = new wxCommandEvent(m_plater->get_send_finished_event());
evt->SetString(from_u8(m_current_project_name.utf8_string()));
wxQueueEvent(m_plater, evt);
} else if (PrinterFileSystem::FF_UPLOADCANCEL) {
} else if (e.GetInt() == PrinterFileSystem::FF_UPLOADCANCEL) {
show_status(PrintDialogStatus::PrintStatusPublicUploadFiled);
wxString err_msg = e.GetString();
if (err_msg.IsEmpty())
err_msg = _u8L("Sending failed, please try again!");
err_msg = _L("Sending failed, please try again!");
update_print_status_msg(err_msg, false, true);
}
});