mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Check for unsaved changes before running configuration wizard
This commit is contained in:
		
							parent
							
								
									df658eb636
								
							
						
					
					
						commit
						d90e82faa3
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -226,6 +226,7 @@ sub load_config { | |||
| sub config_wizard { | ||||
|     my $self = shift; | ||||
| 
 | ||||
|     return unless $self->check_unsaved_changes; | ||||
|     if (Slic3r::GUI::ConfigWizard->new($self)->run) { | ||||
|         $_->() for values %Slic3r::GUI::OptionsGroup::reload_callbacks; | ||||
|         $_->set_dirty(1) for values %{$self->{options_tabs}}; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Henrik Brix Andersen
						Henrik Brix Andersen