mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-27 09:59:48 -07:00
ENH: fix the shown text
jira: [STUDIO-11407] Change-Id: Ic1286621d4d85e2ab18b5b61c7ed2f055576c5b3 (cherry picked from commit 65868cf6037b8c29e5d0b0af9a9457a1e066472c)
This commit is contained in:
parent
f4a3ceba2b
commit
1908b39bb8
1 changed files with 2 additions and 2 deletions
|
|
@ -1353,11 +1353,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);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue