fix an bug that wrong bed type was used for thirdparty printers

This commit is contained in:
SoftFever 2022-12-17 11:11:55 +08:00
parent ab8e0665b6
commit 1938ab44ba

View file

@ -1040,7 +1040,7 @@ void Sidebar::update_all_preset_comboboxes()
p_mainframe->load_printer_url(host_url);
}
m_bed_type_list->SelectAndNotify(btPEI);
m_bed_type_list->SelectAndNotify(btPEI-1);
m_bed_type_list->Disable();
}
@ -11391,4 +11391,4 @@ SuppressBackgroundProcessingUpdate::~SuppressBackgroundProcessingUpdate()
wxGetApp().plater()->schedule_background_process(m_was_scheduled);
}
}} // namespace Slic3r::GUI
}} // namespace Slic3r::GUI