mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 00:07:52 -06:00
Fix of #1606
+ Added dialog closing by "Esc" button for the FirmwareDialog.
This commit is contained in:
parent
7cb90956ee
commit
519f5e5ea7
3 changed files with 5 additions and 2 deletions
|
@ -114,7 +114,7 @@ AboutDialog::AboutDialog()
|
|||
this->Bind(wxEVT_BUTTON, &AboutDialog::onCloseDialog, this, wxID_CLOSE);
|
||||
vsizer->Add(buttons, 0, wxEXPAND | wxRIGHT | wxBOTTOM, 3);
|
||||
|
||||
this->Bind(wxEVT_LEFT_DOWN, &AboutDialog::onCloseDialog, this);
|
||||
// this->Bind(wxEVT_LEFT_DOWN, &AboutDialog::onCloseDialog, this);
|
||||
logo->Bind(wxEVT_LEFT_DOWN, &AboutDialog::onCloseDialog, this);
|
||||
|
||||
SetSizer(main_sizer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue