From d14789fad119f87c13a3fa80c01e4cc8dd96c8be Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Wed, 9 Apr 2025 15:13:59 +0800 Subject: [PATCH] ENH:delete no use code jira: none Change-Id: Ib63d812a797b7bbf06f1af434c705f5e3884d57d (cherry picked from commit 8f007662874b3fd6ea5d63e820ef92a5ae8c384a) --- src/slic3r/GUI/Plater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index da6f3297cc..df22bb5532 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -1580,7 +1580,7 @@ Sidebar::Sidebar(Plater *parent) e.Skip(); // fix bug:Event spreads to sidebar }); p->combo_printer_bed->Bind(wxEVT_LEAVE_WINDOW, [this](wxMouseEvent &evt) { - if (p->big_bed_image_popup && p->big_bed_image_popup->IsShown()) { + if (p->big_bed_image_popup) { p->big_bed_image_popup->on_hide(); } });