ENH:modify the button text for cancel print

jira:[STUDIO-8734]

Change-Id: Icad74c6c72c1140e3bbc41f07c9e0d577756e8fd
This commit is contained in:
tao wang 2024-11-13 14:31:16 +08:00 committed by Lane.Wei
parent c154725625
commit db00b3c737
2 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,7 @@ void CalibrationCaliPage::on_subtask_abort(wxCommandEvent& event)
});
}
abort_dlg->update_text(_L("Are you sure you want to cancel this print?"));
abort_dlg->update_btn_label(_L("Yes"), _L("No"));
abort_dlg->on_show();
}

View File

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