Upload and print button id changed.

This commit is contained in:
David Kocik 2021-12-20 08:47:48 +01:00
parent 62d9f73d78
commit afc47efe19

View File

@ -88,7 +88,7 @@ PrintHostSendDialog::PrintHostSendDialog(const fs::path &path, PrintHostPostUplo
};
if (post_actions.has(PrintHostPostUploadAction::StartPrint)) {
auto* btn_print = add_button(wxID_YES, false, _L("Upload and Print"));
auto* btn_print = add_button(wxID_APPLY, false, _L("Upload and Print"));
btn_print->Bind(wxEVT_BUTTON, [this, validate_path](wxCommandEvent&) {
if (validate_path(txt_filename->GetValue())) {
post_upload_action = PrintHostPostUploadAction::StartPrint;