FIX: update the check logic

jira: [STUDIO-9715]
Change-Id: I38fcc7fb45c34b2ff675807b7dcbcd1aaa20449c
This commit is contained in:
xin.zhang 2025-01-16 15:07:49 +08:00 committed by lane.wei
parent 5b800d0342
commit 52cfb30119
1 changed files with 1 additions and 1 deletions

View File

@ -3885,7 +3885,7 @@ void StatusPanel::on_set_chamber_temp()
m_tempCtrl_chamber->Warning(false); m_tempCtrl_chamber->Warning(false);
} }
if (chamber_temp > obj->chamber_temp_switch_heat) if (chamber_temp >= obj->chamber_temp_switch_heat)
{ {
delete champer_switch_head_dlg; delete champer_switch_head_dlg;
champer_switch_head_dlg = new MessageDialog(nullptr, _L("If the chamber temperature exceeds 40\u2103, the system will automatically switch to heating mode. Please confirm whether to switch."), wxEmptyString, wxICON_WARNING | wxOK | wxCANCEL); champer_switch_head_dlg = new MessageDialog(nullptr, _L("If the chamber temperature exceeds 40\u2103, the system will automatically switch to heating mode. Please confirm whether to switch."), wxEmptyString, wxICON_WARNING | wxOK | wxCANCEL);