FIX:allow event spreads to sidebar view

jira: none
Change-Id: If6f3179c31890349e8312bce0ffecb57e43c2a63
(cherry picked from commit 0d70dbf3d8822c5eaf3994b5ea569ee37d9452a8)
This commit is contained in:
zhou.xu
2024-12-27 18:26:17 +08:00
committed by Noisyfox
parent d19b705986
commit 904b1217f4

View File

@@ -1449,6 +1449,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
});
{