mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fixed #4918
Added missed "Add/Remove filaments" item for the filament preset combobox
This commit is contained in:
		
							parent
							
								
									7f3ba4e368
								
							
						
					
					
						commit
						0f8f412e90
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -805,11 +805,13 @@ void PlaterPresetComboBox::update() | |||
|         } | ||||
|     } | ||||
| 
 | ||||
|     if (m_type == Preset::TYPE_PRINTER || m_type == Preset::TYPE_SLA_MATERIAL) { | ||||
|     if (m_type == Preset::TYPE_PRINTER || m_type == Preset::TYPE_FILAMENT || m_type == Preset::TYPE_SLA_MATERIAL) { | ||||
|         wxBitmap* bmp = get_bmp("edit_preset_list", wide_icons, "edit_uni"); | ||||
|         assert(bmp); | ||||
| 
 | ||||
|         if (m_type == Preset::TYPE_SLA_MATERIAL) | ||||
|         if (m_type == Preset::TYPE_FILAMENT) | ||||
|             set_label_marker(Append(separator(L("Add/Remove filaments")), *bmp), LABEL_ITEM_WIZARD_FILAMENTS); | ||||
|         else if (m_type == Preset::TYPE_SLA_MATERIAL) | ||||
|             set_label_marker(Append(separator(L("Add/Remove materials")), *bmp), LABEL_ITEM_WIZARD_MATERIALS); | ||||
|         else | ||||
|             set_label_marker(Append(separator(L("Add/Remove printers")), *bmp), LABEL_ITEM_WIZARD_PRINTERS); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 YuSanka
						YuSanka