mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fixed crash under oSX after selection with SHIFT from 3DScene
This commit is contained in:
		
							parent
							
								
									618d124bfb
								
							
						
					
					
						commit
						af05e5fc2c
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -88,6 +88,10 @@ ObjectList::ObjectList(wxWindow* parent) :
 | 
			
		|||
        // before the kill focus event handler on the object manipulator when changing selection in the list, invalidating the object
 | 
			
		||||
        // manipulator cache with the following call to selection_changed()
 | 
			
		||||
        wxGetApp().obj_manipul()->emulate_kill_focus();
 | 
			
		||||
 | 
			
		||||
        // To avoid selection update from SetSelection() and UnselectAll() under osx
 | 
			
		||||
        if (m_prevent_list_events)
 | 
			
		||||
            return;
 | 
			
		||||
#endif // __APPLE__
 | 
			
		||||
 | 
			
		||||
        /* For multiple selection with pressed SHIFT, 
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue