mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Correct switching between printer_technologies (show/hide according tabs)
This commit is contained in:
		
							parent
							
								
									d4c69a6258
								
							
						
					
					
						commit
						2af2b05bd6
					
				
					 7 changed files with 133 additions and 25 deletions
				
			
		| 
						 | 
				
			
			@ -201,6 +201,8 @@ sub _init_tabpanel {
 | 
			
		|||
        # load initial config
 | 
			
		||||
        my $full_config = wxTheApp->{preset_bundle}->full_config;
 | 
			
		||||
        $self->{plater}->on_config_change($full_config);
 | 
			
		||||
        #return if $num_extruders is undefined because of SLA printer is selected
 | 
			
		||||
        return if (!defined $full_config->nozzle_diameter); # ys_FIXME
 | 
			
		||||
        # Show a correct number of filament fields.
 | 
			
		||||
        $self->{plater}->on_extruders_change(int(@{$full_config->nozzle_diameter}));
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue