mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Fixed a manually editing of a "Filament Settings -> Advanced -> Filament type" (#2232)
This commit is contained in:
		
							parent
							
								
									6bc6806a2e
								
							
						
					
					
						commit
						f0acf4f745
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -608,7 +608,11 @@ void Choice::BUILD() { | |||
|     if (m_is_editable) { | ||||
|         temp->Bind(wxEVT_KILL_FOCUS, ([this](wxEvent& e) { | ||||
|             e.Skip(); | ||||
|             if (m_opt.type == coStrings) return; | ||||
|             if (m_opt.type == coStrings) { | ||||
|                 on_change_field(); | ||||
|                 return; | ||||
|             } | ||||
| 
 | ||||
|             double old_val = !m_value.empty() ? boost::any_cast<double>(m_value) : -99999; | ||||
|             if (is_defined_input_value<wxBitmapComboBox>(window, m_opt.type)) { | ||||
|                 if (fabs(old_val - boost::any_cast<double>(get_value())) <= 0.0001) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 YuSanka
						YuSanka