mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Fix Slic3r crash when opening About dialog
This commit is contained in:
@@ -66,7 +66,7 @@ sub new {
|
|||||||
$vsizer->Add($html, 1, wxEXPAND | wxALIGN_LEFT | wxRIGHT | wxBOTTOM, 20);
|
$vsizer->Add($html, 1, wxEXPAND | wxALIGN_LEFT | wxRIGHT | wxBOTTOM, 20);
|
||||||
EVT_HTML_LINK_CLICKED($self, $html, \&link_clicked);
|
EVT_HTML_LINK_CLICKED($self, $html, \&link_clicked);
|
||||||
|
|
||||||
my $buttons = $self->CreateStdDialogButtonSizer(wxCLOSE);
|
my $buttons = $self->CreateStdDialogButtonSizer(wxOK);
|
||||||
$self->SetEscapeId(wxID_CLOSE);
|
$self->SetEscapeId(wxID_CLOSE);
|
||||||
EVT_BUTTON($self, wxID_CLOSE, sub {
|
EVT_BUTTON($self, wxID_CLOSE, sub {
|
||||||
$self->EndModal(wxID_CLOSE);
|
$self->EndModal(wxID_CLOSE);
|
||||||
|
|||||||
Reference in New Issue
Block a user