Update StatusPanel.cpp

(cherry picked from commit bf8fa891587c80bd2bbc6562d683392a04a2d106)
This commit is contained in:
Erwin Ried
2025-07-17 15:48:31 +02:00
committed by Noisyfox
parent 4c450df0df
commit 0d26211688

View File

@@ -4944,7 +4944,7 @@ void StatusPanel::on_lamp_switch(wxCommandEvent &event)
obj->command_set_chamber_light2(MachineObject::LIGHT_EFFECT::LIGHT_EFFECT_ON);
} else {
if (obj->m_lamp_close_recheck) {
MessageDialog msg_dlg(nullptr, _L("Turning off the lights during the task will cause the failure of AI monitoring, like spaghetti dectection. Please choose carefully."), wxEmptyString, wxICON_WARNING | wxOK | wxCANCEL);
MessageDialog msg_dlg(nullptr, _L("Turning off the lights during the task will cause the failure of AI monitoring, like spaghetti detection. Please choose carefully."), wxEmptyString, wxICON_WARNING | wxOK | wxCANCEL);
msg_dlg.SetButtonLabel(wxID_OK, _L("Keep it On"));
msg_dlg.SetButtonLabel(wxID_CANCEL, _L("Turn it Off"));
if (msg_dlg.ShowModal() != wxID_CANCEL) {