FIX:Change text in stop printing dialog

jira: STUDIO-7899

Change-Id: Ic93f7322aa35c06dd98df2b70c9f24f94a62467c
This commit is contained in:
hang.xu 2024-08-22 12:08:57 +08:00 committed by lane.wei
parent 5c05bd2698
commit b2418c7417
1 changed files with 2 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 you want to cancel this print?"));
abort_dlg->update_text(_L("Are you sure you want to stop this print?"));
abort_dlg->m_button_cancel->SetBackgroundColor(abort_dlg->btn_bg_green);
abort_dlg->m_button_cancel->SetBorderColor(*wxWHITE);
abort_dlg->m_button_cancel->SetTextColor(wxColor("#FFFFFE"));
@ -1951,6 +1950,7 @@ void StatusPanel::on_subtask_abort(wxCommandEvent &event)
abort_dlg->m_button_ok->SetBackgroundColor(abort_dlg->btn_bg_white);
abort_dlg->m_button_ok->SetBorderColor(wxColor(38, 46, 48));
abort_dlg->m_button_ok->SetTextColor(*wxBLACK);
abort_dlg->m_button_ok->SetLabel(_L("Stop"));
abort_dlg->on_show();
}