Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2019-02-28 15:04:37 +0300
committerVojtech Kral <vojtech@kral.hk>2019-03-01 15:15:20 +0300
commitb642784e9131aa11ee8bbc300ad67f9fef85b8f3 (patch)
tree2d320566370e1bc2f2f543b6286febc5c8eb6566 /src/slic3r/GUI/PrintHostDialogs.cpp
parentb7941345d1f641b7a726a317fe055b5d7ed74e3a (diff)
Fix close/cancel button accel problems on Mac
Diffstat (limited to 'src/slic3r/GUI/PrintHostDialogs.cpp')
-rw-r--r--src/slic3r/GUI/PrintHostDialogs.cpp2
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();