FIX: add a warning dialog

jira: [STUDIO-9715]
Change-Id: I376235de8a8569e63530eca914dc977a670a769c
(cherry picked from commit 4f1ad8016e11d5440127b45c48854c1ed2cf75aa)
This commit is contained in:
xin.zhang 2025-01-14 17:20:44 +08:00 committed by Noisyfox
parent 16a32d0cc4
commit 2878eb50f1
5 changed files with 27 additions and 1 deletions

View file

@ -3268,6 +3268,15 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
chamber_temp_edit_min = support_champer_range[0];
chamber_temp_edit_max = support_champer_range[1];
}
if (jj.contains("support_chamber_temp_switch_heating"))
{
const auto& support_chamber_temp_switch_heating = jj["support_chamber_temp_switch_heating"];
if (support_chamber_temp_switch_heating.is_number())
{
chamber_temp_switch_heat = support_chamber_temp_switch_heating.get<long>();
}
}
}
if (jj.contains("support_extrusion_cali")) {