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-09-09 15:26:56 +0300
committerVojtech Kral <vojtech@kral.hk>2019-09-09 17:41:14 +0300
commitf747b97564616300d91c94370461241f4d46ccfa (patch)
treeae55e0e168c95e49d3348cfa32b784a922c2b768 /src/slic3r/GUI/FirmwareDialog.cpp
parent21cc859357b73d1c563bc4da9b3ae5fbb0f8c7bb (diff)
FirmwareDialog: Attempt to fix window double close assertion #2619
Diffstat (limited to 'src/slic3r/GUI/FirmwareDialog.cpp')
-rw-r--r--src/slic3r/GUI/FirmwareDialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/slic3r/GUI/FirmwareDialog.cpp b/src/slic3r/GUI/FirmwareDialog.cpp
index d1f2da040..fe7ff4e5d 100644
--- a/src/slic3r/GUI/FirmwareDialog.cpp
+++ b/src/slic3r/GUI/FirmwareDialog.cpp
@@ -866,7 +866,7 @@ FirmwareDialog::FirmwareDialog(wxWindow *parent) :
SetSize(std::max(size.GetWidth(), static_cast<int>(p->min_width)), std::max(size.GetHeight(), static_cast<int>(p->min_height)));
Layout();
- SetEscapeId(wxID_CLOSE); // To close the dialog using "Esc" button
+ SetEscapeId(wxID_CLOSE); // To close the dialog using "Esc" button
// Bind events
@@ -893,7 +893,6 @@ FirmwareDialog::FirmwareDialog(wxWindow *parent) :
this->p->fit_no_shrink();
});
- p->btn_close->Bind(wxEVT_BUTTON, [this](wxCommandEvent &) { this->Close(); });
p->btn_rescan->Bind(wxEVT_BUTTON, [this](wxCommandEvent &) { this->p->find_serial_ports(); });
p->btn_flash->Bind(wxEVT_BUTTON, [this](wxCommandEvent &) {