diff options
author | Vojtech Kral <vojtech@kral.hk> | 2019-02-28 15:04:37 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2019-03-01 15:15:20 +0300 |
commit | b642784e9131aa11ee8bbc300ad67f9fef85b8f3 (patch) | |
tree | 2d320566370e1bc2f2f543b6286febc5c8eb6566 /src/slic3r/GUI/PrintHostDialogs.cpp | |
parent | b7941345d1f641b7a726a317fe055b5d7ed74e3a (diff) |
Fix close/cancel button accel problems on Mac
Diffstat (limited to 'src/slic3r/GUI/PrintHostDialogs.cpp')
-rw-r--r-- | src/slic3r/GUI/PrintHostDialogs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/PrintHostDialogs.cpp b/src/slic3r/GUI/PrintHostDialogs.cpp index 0d70027c0..1ec1c3a6a 100644 --- a/src/slic3r/GUI/PrintHostDialogs.cpp +++ b/src/slic3r/GUI/PrintHostDialogs.cpp @@ -157,7 +157,7 @@ PrintHostQueueDialog::PrintHostQueueDialog(wxWindow *parent) btn_cancel->Disable(); btn_error = new wxButton(this, wxID_ANY, _(L("Show error message"))); btn_error->Disable(); - auto *btn_close = new wxButton(this, wxID_CANCEL, _(L("Close"))); + auto *btn_close = new wxButton(this, wxID_CANCEL, _(L("Close"))); // Note: The label needs to be present, otherwise we get accelerator bugs on Mac btnsizer->Add(btn_cancel, 0, wxRIGHT, SPACING); btnsizer->Add(btn_error, 0); btnsizer->AddStretchSpacer(); |