mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 17:12:07 +00:00
ENH: fix the shown text
jira: [STUDIO-11407] Change-Id: Ic1286621d4d85e2ab18b5b61c7ed2f055576c5b3 (cherry picked from commit 65868cf6037b8c29e5d0b0af9a9457a1e066472c)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user