mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Fix of install wizard: Escape ampersands in printer models.
This commit is contained in:
		
							parent
							
								
									b95f9897b8
								
							
						
					
					
						commit
						f904752ba7
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -2270,8 +2270,10 @@ bool ConfigWizard::priv::check_and_install_missing_materials(Technology technolo | |||
|     const auto printer_model_list = [](const std::set<const VendorProfile::PrinterModel*> &printer_models) -> wxString { | ||||
|     	wxString out; | ||||
|     	for (const VendorProfile::PrinterModel *printer_model : printer_models) { | ||||
|             wxString name = from_u8(printer_model->name); | ||||
|             name.Replace("&", "&&", true); | ||||
|     		out += "\t\t"; | ||||
|     		out += from_u8(printer_model->name); | ||||
|     		out += name; | ||||
|     		out += "\n"; | ||||
|     	} | ||||
|     	return out; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vojtech Bubnik
						Vojtech Bubnik