Fix crash on BBL's calibration tab (#2403)

This commit is contained in:
Noisyfox 2023-10-13 09:55:07 -05:00 committed by GitHub
parent fc0067ccba
commit f39f5effa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1535,8 +1535,6 @@ void CalibrationPresetPage::set_cali_method(CalibrationMethod method)
m_custom_range_panel->set_titles(titles); m_custom_range_panel->set_titles(titles);
wxArrayString values; wxArrayString values;
Preset* printer_preset = get_printer_preset(curr_obj, get_nozzle_value());
int extruder_type = printer_preset->config.opt_enum("extruder_type", 0);
values.push_back(_L("0")); values.push_back(_L("0"));
values.push_back(_L("0.5")); values.push_back(_L("0.5"));
values.push_back(_L("0.005")); values.push_back(_L("0.005"));