mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-18 06:55:57 +08:00
typo button id fix
This commit is contained in:
parent
e276b70851
commit
119be5829d
@ -96,7 +96,7 @@ PrintHostSendDialog::PrintHostSendDialog(const fs::path &path, bool can_start_pr
|
|||||||
}
|
}
|
||||||
add_button(wxID_CANCEL);
|
add_button(wxID_CANCEL);
|
||||||
|
|
||||||
if (auto* btn_ok = get_button(wxID_NO); btn_ok != NULL) {
|
if (auto* btn_ok = get_button(wxID_OK); btn_ok != NULL) {
|
||||||
btn_ok->SetLabel(_L("Upload"));
|
btn_ok->SetLabel(_L("Upload"));
|
||||||
btn_ok->Bind(wxEVT_BUTTON, [this, suffix](wxCommandEvent&) {
|
btn_ok->Bind(wxEVT_BUTTON, [this, suffix](wxCommandEvent&) {
|
||||||
wxString path = txt_filename->GetValue();
|
wxString path = txt_filename->GetValue();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user