ENH:modify the button text for cancel print
jira:[STUDIO-8734] Change-Id: Icad74c6c72c1140e3bbc41f07c9e0d577756e8fd
This commit is contained in:
parent
c154725625
commit
db00b3c737
|
@ -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_text(_L("Are you sure you want to cancel this print?"));
|
||||||
|
abort_dlg->update_btn_label(_L("Yes"), _L("No"));
|
||||||
abort_dlg->on_show();
|
abort_dlg->on_show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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_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->SetBackgroundColor(abort_dlg->btn_bg_green);
|
||||||
abort_dlg->m_button_cancel->SetBorderColor(*wxWHITE);
|
abort_dlg->m_button_cancel->SetBorderColor(*wxWHITE);
|
||||||
|
|
Loading…
Reference in New Issue