mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fix of #2401
This commit is contained in:
		
							parent
							
								
									7d02811823
								
							
						
					
					
						commit
						47b3440561
					
				
					 1 changed files with 3 additions and 9 deletions
				
			
		|  | @ -2377,12 +2377,9 @@ void GLCanvas3D::on_char(wxKeyEvent& evt) | |||
|             post_event(SimpleEvent(EVT_GLCANVAS_UNDO)); | ||||
|         break; | ||||
| 
 | ||||
| #ifdef __APPLE__ | ||||
|         case WXK_BACK: // the low cost Apple solutions are not equipped with a Delete key, use Backspace instead.
 | ||||
| #else /* __APPLE__ */ | ||||
|         case WXK_BACK: | ||||
|         case WXK_DELETE: | ||||
| #endif /* __APPLE__ */ | ||||
|                             post_event(SimpleEvent(EVT_GLTOOLBAR_DELETE_ALL)); break; | ||||
|              post_event(SimpleEvent(EVT_GLTOOLBAR_DELETE_ALL)); break; | ||||
| 		default:            evt.Skip(); | ||||
|         } | ||||
|     } else if (evt.HasModifiers()) { | ||||
|  | @ -2390,11 +2387,8 @@ void GLCanvas3D::on_char(wxKeyEvent& evt) | |||
|     } else { | ||||
|         switch (keyCode) | ||||
|         { | ||||
| #ifdef __APPLE__ | ||||
|         case WXK_BACK: // the low cost Apple solutions are not equipped with a Delete key, use Backspace instead.
 | ||||
| #else /* __APPLE__ */ | ||||
|         case WXK_BACK: | ||||
| 		case WXK_DELETE: | ||||
| #endif /* __APPLE__ */ | ||||
|                   post_event(SimpleEvent(EVT_GLTOOLBAR_DELETE)); | ||||
|                   break; | ||||
|         case WXK_ESCAPE: { deselect_all(); break; } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 YuSanka
						YuSanka