mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	ObjectList:: Allow use BACKSPACE to delete selected items
This commit is contained in:
		
							parent
							
								
									e30ff22b8a
								
							
						
					
					
						commit
						719c91514b
					
				
					 1 changed files with 1 additions and 6 deletions
				
			
		|  | @ -1044,13 +1044,8 @@ void ObjectList::key_event(wxKeyEvent& event) | |||
| { | ||||
|     if (event.GetKeyCode() == WXK_TAB) | ||||
|         Navigate(event.ShiftDown() ? wxNavigationKeyEvent::IsBackward : wxNavigationKeyEvent::IsForward); | ||||
|     else if (event.GetKeyCode() == WXK_DELETE | ||||
| #ifdef __WXOSX__ | ||||
|         || event.GetKeyCode() == WXK_BACK | ||||
| #endif //__WXOSX__
 | ||||
|         ) { | ||||
|     else if (event.GetKeyCode() == WXK_DELETE || event.GetKeyCode() == WXK_BACK ) | ||||
|         remove(); | ||||
|     } | ||||
|     else if (event.GetKeyCode() == WXK_F5) | ||||
|         wxGetApp().plater()->reload_all_from_disk(); | ||||
|     else if (wxGetKeyState(wxKeyCode('A')) && wxGetKeyState(WXK_CONTROL/*WXK_SHIFT*/)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 YuSanka
						YuSanka