From 6687bd048e58cff1e22eea18214f3f6c6a071baf Mon Sep 17 00:00:00 2001 From: Stone Li Date: Fri, 3 Jan 2025 17:04:10 +0800 Subject: [PATCH] ENH: optimize some description JIRA: STUDIO-9527 Change-Id: I789e04a1727b16a8de8eac975ef6a3fea5c59d56 Signed-off-by: Stone Li --- src/slic3r/GUI/DeviceManager.cpp | 1 + src/slic3r/GUI/GUI_App.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/DeviceManager.cpp b/src/slic3r/GUI/DeviceManager.cpp index 646f6c276..7cbee03e1 100644 --- a/src/slic3r/GUI/DeviceManager.cpp +++ b/src/slic3r/GUI/DeviceManager.cpp @@ -6108,6 +6108,7 @@ void MachineObject::update_printer_preset_name() { BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << " " << __LINE__ << "start update preset_name"; PresetBundle * preset_bundle = Slic3r::GUI::wxGetApp().preset_bundle; + if (!preset_bundle) return; auto printer_model = MachineObject::get_preset_printer_model_name(this->printer_type); std::set diameter_set; for (auto &nozzle : m_extder_data.extders) { diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 8607e3e6d..857e5f70b 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -4949,7 +4949,7 @@ void GUI_App::process_network_msg(std::string dev_id, std::string msg) else if (msg == "cert_revoked") { BOOST_LOG_TRIVIAL(info) << "process_network_msg, cert_revoked"; if (!m_show_error_msgdlg) { - MessageDialog msg_dlg(nullptr, _L("The certificate has been revoked. Please check the time settings or update Bambu Studio and try again."), "", wxAPPLY | wxOK); + MessageDialog msg_dlg(nullptr, _L("The certificate has been revoked and the printing functions are unavailable. If you need printing. Please visit the official website at https://bambulab.com/ to download and update."), "", wxAPPLY | wxOK); m_show_error_msgdlg = true; auto modal_result = msg_dlg.ShowModal(); m_show_error_msgdlg = false; @@ -4958,7 +4958,7 @@ void GUI_App::process_network_msg(std::string dev_id, std::string msg) else if (msg == "update_firmware_studio") { BOOST_LOG_TRIVIAL(info) << "process_network_msg, firmware internal error"; if (!m_show_error_msgdlg) { - MessageDialog msg_dlg(nullptr, _L("Firmware internal error, please try to upgrade firmware version."), "", wxAPPLY | wxOK); + MessageDialog msg_dlg(nullptr, _L("Internal error. Please try upgrading the firmware and Studio version. If the issue persists, contact customer support."), "", wxAPPLY | wxOK); m_show_error_msgdlg = true; auto modal_result = msg_dlg.ShowModal(); m_show_error_msgdlg = false;