mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX: The warning is not translated
that nozzle diameter is not supported in old firmware Jira: 4675 Change-Id: I6045dd33f4821ee7dd11bd8782f8c6f9b2a4010e
This commit is contained in:
parent
ce40bb2ecf
commit
b293346272
1 changed files with 1 additions and 1 deletions
|
@ -4151,7 +4151,7 @@ int MachineObject::parse_json(std::string payload)
|
||||||
std::string reason = jj["reason"].get<std::string>();
|
std::string reason = jj["reason"].get<std::string>();
|
||||||
GUI::wxGetApp().CallAfter([cali_mode, reason] {
|
GUI::wxGetApp().CallAfter([cali_mode, reason] {
|
||||||
wxString info = "";
|
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");
|
info = _L("This calibration does not support the currently selected nozzle diameter");
|
||||||
}
|
}
|
||||||
else if (reason == "invalid handle_flowrate_cali param") {
|
else if (reason == "invalid handle_flowrate_cali param") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue