From 8f007662874b3fd6ea5d63e820ef92a5ae8c384a 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 --- 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 c6ffa6a19..65c39f9ba 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -1625,7 +1625,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(); } });