ENH: some modification to previous commit

some fix to I0a100746b2845bba57f57e8f6962eca1dbd562aa
FIX:Default option of stop printing is no

Change-Id: I683101f55c3113b9ba99dc59dded95c38b4b243f
This commit is contained in:
zhimin.zeng 2024-12-12 17:59:23 +08:00 committed by lane.wei
parent 7bb5060b73
commit acdc8077e8
1 changed files with 1 additions and 2 deletions

View File

@ -1942,8 +1942,7 @@ void StatusPanel::on_subtask_abort(wxCommandEvent &event)
}
});
}
abort_dlg->update_text(_L("Are you sure to stop printing?"));
abort_dlg->update_btn_label(_L("Yes"), _L("No"));
abort_dlg->update_text(_L("Are you sure you want to cancel this print?"));
abort_dlg->m_button_cancel->SetBackgroundColor(abort_dlg->btn_bg_green);
abort_dlg->m_button_cancel->SetBorderColor(*wxWHITE);