mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 21:06:02 +08:00
FIX: didn't pass ams_id
Change-Id: If39cb7704ec83944ef35a97509254aae6a9c8598
This commit is contained in:
parent
cae86ad38c
commit
18a5575bbc
@ -996,7 +996,6 @@ void CalibrationPresetPage::update_combobox_filaments(MachineObject* obj)
|
||||
PresetBundle* preset_bundle = wxGetApp().preset_bundle;
|
||||
if (preset_bundle && printer_preset) {
|
||||
preset_bundle->set_calibrate_printer(printer_preset->name);
|
||||
update_filament_combobox();
|
||||
}
|
||||
|
||||
//step 2: sync ams info from object by default
|
||||
@ -1440,7 +1439,8 @@ void CalibrationPresetPage::sync_ams_info(MachineObject* obj)
|
||||
on_switch_ams(obj->amsList.begin()->first);
|
||||
} else {
|
||||
m_multi_ams_panel->Hide();
|
||||
update_filament_combobox();
|
||||
if (!obj->amsList.empty())
|
||||
update_filament_combobox(obj->amsList.begin()->first);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user