mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 14:35:54 +08:00
parent
80805c5747
commit
8cf482d0f7
@ -636,10 +636,10 @@ PageMaterials::PageMaterials(ConfigWizard *parent, Materials *materials, wxStrin
|
|||||||
update_lists(evt.GetInt(), list_type->GetSelection(), list_vendor->GetSelection());
|
update_lists(evt.GetInt(), list_type->GetSelection(), list_vendor->GetSelection());
|
||||||
});
|
});
|
||||||
list_type->Bind(wxEVT_LISTBOX, [this](wxCommandEvent &) {
|
list_type->Bind(wxEVT_LISTBOX, [this](wxCommandEvent &) {
|
||||||
update_lists(list_printer->GetSelection(), list_type->GetSelection(), list_vendor->GetSelection());
|
update_lists(-1, list_type->GetSelection(), list_vendor->GetSelection());
|
||||||
});
|
});
|
||||||
list_vendor->Bind(wxEVT_LISTBOX, [this](wxCommandEvent &) {
|
list_vendor->Bind(wxEVT_LISTBOX, [this](wxCommandEvent &) {
|
||||||
update_lists(list_printer->GetSelection(), list_type->GetSelection(), list_vendor->GetSelection());
|
update_lists(-1, list_type->GetSelection(), list_vendor->GetSelection());
|
||||||
});
|
});
|
||||||
|
|
||||||
list_profile->Bind(wxEVT_CHECKLISTBOX, [this](wxCommandEvent &evt) { select_material(evt.GetInt()); });
|
list_profile->Bind(wxEVT_CHECKLISTBOX, [this](wxCommandEvent &evt) { select_material(evt.GetInt()); });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user