ENH:delete no use code

jira: none
Change-Id: Ib63d812a797b7bbf06f1af434c705f5e3884d57d
(cherry picked from commit 8f007662874b3fd6ea5d63e820ef92a5ae8c384a)
This commit is contained in:
zhou.xu 2025-04-09 15:13:59 +08:00 committed by Noisyfox
parent f36fa17a09
commit d14789fad1

View file

@ -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();
}
});