mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-19 06:35:56 +08:00
FIX:allow event spreads to sidebar view
jira: none Change-Id: If6f3179c31890349e8312bce0ffecb57e43c2a63
This commit is contained in:
parent
758d37d080
commit
0d70dbf3d8
@ -1476,6 +1476,7 @@ Sidebar::Sidebar(Plater *parent)
|
|||||||
p->combo_printer_bed->Bind(wxEVT_COMBOBOX, [this](auto &e) {
|
p->combo_printer_bed->Bind(wxEVT_COMBOBOX, [this](auto &e) {
|
||||||
int selection = p->combo_printer_bed->GetSelection();
|
int selection = p->combo_printer_bed->GetSelection();
|
||||||
p->image_printer_bed->SetBitmap(create_scaled_bitmap(bed_type_thumbnails[BedType(selection + 1)], this, 48));
|
p->image_printer_bed->SetBitmap(create_scaled_bitmap(bed_type_thumbnails[BedType(selection + 1)], this, 48));
|
||||||
|
e.Skip();//fix bug:Event spreads to sidebar
|
||||||
});
|
});
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user