mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 14:46:05 +08:00
Upload and print button id changed.
This commit is contained in:
parent
62d9f73d78
commit
afc47efe19
@ -88,7 +88,7 @@ PrintHostSendDialog::PrintHostSendDialog(const fs::path &path, PrintHostPostUplo
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (post_actions.has(PrintHostPostUploadAction::StartPrint)) {
|
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&) {
|
btn_print->Bind(wxEVT_BUTTON, [this, validate_path](wxCommandEvent&) {
|
||||||
if (validate_path(txt_filename->GetValue())) {
|
if (validate_path(txt_filename->GetValue())) {
|
||||||
post_upload_action = PrintHostPostUploadAction::StartPrint;
|
post_upload_action = PrintHostPostUploadAction::StartPrint;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user