ENH: optimize some description
JIRA: STUDIO-9527 Change-Id: I789e04a1727b16a8de8eac975ef6a3fea5c59d56 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
ec2412ddec
commit
6687bd048e
|
@ -6108,6 +6108,7 @@ void MachineObject::update_printer_preset_name()
|
||||||
{
|
{
|
||||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << " " << __LINE__ << "start update preset_name";
|
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << " " << __LINE__ << "start update preset_name";
|
||||||
PresetBundle * preset_bundle = Slic3r::GUI::wxGetApp().preset_bundle;
|
PresetBundle * preset_bundle = Slic3r::GUI::wxGetApp().preset_bundle;
|
||||||
|
if (!preset_bundle) return;
|
||||||
auto printer_model = MachineObject::get_preset_printer_model_name(this->printer_type);
|
auto printer_model = MachineObject::get_preset_printer_model_name(this->printer_type);
|
||||||
std::set<std::string> diameter_set;
|
std::set<std::string> diameter_set;
|
||||||
for (auto &nozzle : m_extder_data.extders) {
|
for (auto &nozzle : m_extder_data.extders) {
|
||||||
|
|
|
@ -4949,7 +4949,7 @@ void GUI_App::process_network_msg(std::string dev_id, std::string msg)
|
||||||
else if (msg == "cert_revoked") {
|
else if (msg == "cert_revoked") {
|
||||||
BOOST_LOG_TRIVIAL(info) << "process_network_msg, cert_revoked";
|
BOOST_LOG_TRIVIAL(info) << "process_network_msg, cert_revoked";
|
||||||
if (!m_show_error_msgdlg) {
|
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;
|
m_show_error_msgdlg = true;
|
||||||
auto modal_result = msg_dlg.ShowModal();
|
auto modal_result = msg_dlg.ShowModal();
|
||||||
m_show_error_msgdlg = false;
|
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") {
|
else if (msg == "update_firmware_studio") {
|
||||||
BOOST_LOG_TRIVIAL(info) << "process_network_msg, firmware internal error";
|
BOOST_LOG_TRIVIAL(info) << "process_network_msg, firmware internal error";
|
||||||
if (!m_show_error_msgdlg) {
|
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;
|
m_show_error_msgdlg = true;
|
||||||
auto modal_result = msg_dlg.ShowModal();
|
auto modal_result = msg_dlg.ShowModal();
|
||||||
m_show_error_msgdlg = false;
|
m_show_error_msgdlg = false;
|
||||||
|
|
Loading…
Reference in New Issue