From b293346272384b5c800b521ca9672076faf68f61 Mon Sep 17 00:00:00 2001 From: "zhimin.zeng" Date: Sun, 8 Oct 2023 20:46:37 +0800 Subject: [PATCH] FIX: The warning is not translated that nozzle diameter is not supported in old firmware Jira: 4675 Change-Id: I6045dd33f4821ee7dd11bd8782f8c6f9b2a4010e --- src/slic3r/GUI/DeviceManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/DeviceManager.cpp b/src/slic3r/GUI/DeviceManager.cpp index a1839d032d..7ed9466b4f 100644 --- a/src/slic3r/GUI/DeviceManager.cpp +++ b/src/slic3r/GUI/DeviceManager.cpp @@ -4151,7 +4151,7 @@ int MachineObject::parse_json(std::string payload) std::string reason = jj["reason"].get(); GUI::wxGetApp().CallAfter([cali_mode, reason] { wxString info = ""; - if (reason == "invalid nozzle_diameter") { + if (reason == "invalid nozzle_diameter" || reason == "nozzle_diameter is not supported") { info = _L("This calibration does not support the currently selected nozzle diameter"); } else if (reason == "invalid handle_flowrate_cali param") {