mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Pass explicit tool IDs to ::EnableTool()
This commit is contained in:
		
							parent
							
								
									69fa308f55
								
							
						
					
					
						commit
						794a090892
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -866,7 +866,8 @@ sub selection_changed { | |||
|         for grep $self->{"btn_$_"}, qw(remove increase decrease rotate45cw rotate45ccw rotate changescale split); | ||||
|      | ||||
|     if ($self->{htoolbar}) { | ||||
|         $self->{htoolbar}->EnableTool($_, $have_sel) for 1..$self->{htoolbar}->GetToolsCount; | ||||
|         $self->{htoolbar}->EnableTool($_, $have_sel) | ||||
|             for (TB_MORE, TB_LESS, TB_45CW, TB_45CCW, TB_ROTATE, TB_SCALE, TB_SPLIT); | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Henrik Brix Andersen
						Henrik Brix Andersen