mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fixed compilation on Linux
This commit is contained in:
		
							parent
							
								
									9f09f03228
								
							
						
					
					
						commit
						4745948b84
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -3841,7 +3841,7 @@ bool Tab::validate_custom_gcodes() | |||
|         assert(opt_group->opt_map().size() == 1); | ||||
|         std::string key = opt_group->opt_map().begin()->first; | ||||
|         std::string value = boost::any_cast<std::string>(opt_group->get_value(key)); | ||||
|         std::string config_value = m_type == Preset::TYPE_FILAMENT ? m_config->opt_string(key, unsigned int(0)) : m_config->opt_string(key); | ||||
|         std::string config_value = m_type == Preset::TYPE_FILAMENT ? m_config->opt_string(key, 0u) : m_config->opt_string(key); | ||||
|         valid &= validate_custom_gcode(opt_group->title, value); | ||||
|         Field* field = opt_group->get_field(key); | ||||
|         TextCtrl* text_ctrl = dynamic_cast<TextCtrl*>(field); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vojtech Bubnik
						Vojtech Bubnik