mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Bugfix: each tab was loading too much from external config files
This commit is contained in:
		
							parent
							
								
									4e2936020b
								
							
						
					
					
						commit
						a8e9b6926a
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -183,7 +183,10 @@ sub on_select_preset { | |||
|         } | ||||
|         eval { | ||||
|             local $SIG{__WARN__} = Slic3r::GUI::warning_catcher($self); | ||||
|             $self->{config}->apply(Slic3r::Config->load($preset->{file})); | ||||
|             my $external_config = Slic3r::Config->load($preset->{file}); | ||||
|             foreach my $opt_key (@{$self->{options}}) { | ||||
|                 $self->{config}->set($opt_key, $external_config->get($opt_key)); | ||||
|             } | ||||
|         }; | ||||
|         Slic3r::GUI::catch_error($self); | ||||
|         $preset->{external} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci