mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
FIX:Optimize the pop-up promote for turning off the lights
jira:[STUDIO-12654] Change-Id: I5a1e2056f530b8c73ef93031308facfe966e3e62 (cherry picked from commit 735e8a3259544bf2d8ac02a7ac6ca271d4506da1)
This commit is contained in:
@@ -4948,9 +4948,9 @@ void StatusPanel::on_lamp_switch(wxCommandEvent &event)
|
|||||||
} else {
|
} else {
|
||||||
if (obj->m_lamp_close_recheck) {
|
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 dectection. Please choose carefully."), wxEmptyString, wxICON_WARNING | wxOK | wxCANCEL);
|
||||||
msg_dlg.SetButtonLabel(wxID_OK, _L("Turn it Off"));
|
msg_dlg.SetButtonLabel(wxID_OK, _L("Keep it On"));
|
||||||
msg_dlg.SetButtonLabel(wxID_CANCEL, _L("Keep it On"));
|
msg_dlg.SetButtonLabel(wxID_CANCEL, _L("Turn it Off"));
|
||||||
if (msg_dlg.ShowModal() != wxID_OK) {
|
if (msg_dlg.ShowModal() != wxID_CANCEL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user