mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-25 01:31:14 -06:00 
			
		
		
		
	Fix of #5009 (Shift+Tab shall be disabled in gcode viewer mode)
This commit is contained in:
		
							parent
							
								
									afaa7a4cc2
								
							
						
					
					
						commit
						0a9f316d64
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -3209,7 +3209,7 @@ void GLCanvas3D::on_key(wxKeyEvent& evt) | |||
|                     // m_canvas->HandleAsNavigationKey(evt);   // XXX: Doesn't work in some cases / on Linux
 | ||||
|                     post_event(SimpleEvent(EVT_GLCANVAS_TAB)); | ||||
|                 } | ||||
|                 else if (keyCode == WXK_TAB && evt.ShiftDown()) { | ||||
|                 else if (keyCode == WXK_TAB && evt.ShiftDown() && ! wxGetApp().is_gcode_viewer()) { | ||||
|                     // Collapse side-panel with Shift+Tab
 | ||||
|                     post_event(SimpleEvent(EVT_GLCANVAS_COLLAPSE_SIDEBAR)); | ||||
|                 } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lukas Matena
						Lukas Matena