mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	FIX: didn't pass ams_id
Change-Id: If39cb7704ec83944ef35a97509254aae6a9c8598
This commit is contained in:
		
							parent
							
								
									cae86ad38c
								
							
						
					
					
						commit
						18a5575bbc
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 liz.li
						liz.li