FIX:allow event spreads to sidebar view

jira: none
Change-Id: If6f3179c31890349e8312bce0ffecb57e43c2a63
This commit is contained in:
zhou.xu 2024-12-27 18:26:17 +08:00 committed by lane.wei
parent 758d37d080
commit 0d70dbf3d8
1 changed files with 1 additions and 0 deletions

View File

@ -1476,6 +1476,7 @@ Sidebar::Sidebar(Plater *parent)
p->combo_printer_bed->Bind(wxEVT_COMBOBOX, [this](auto &e) {
int selection = p->combo_printer_bed->GetSelection();
p->image_printer_bed->SetBitmap(create_scaled_bitmap(bed_type_thumbnails[BedType(selection + 1)], this, 48));
e.Skip();//fix bug:Event spreads to sidebar
});
{