mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Default to "No" when prompting about discarding unsaved changes.
This commit is contained in:
		
							parent
							
								
									82cfc7c3d6
								
							
						
					
					
						commit
						bd16366d62
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -214,8 +214,8 @@ sub check_unsaved_changes { | |||
|     if (@dirty) { | ||||
|         my $titles = join ', ', @dirty; | ||||
|         my $confirm = Wx::MessageDialog->new($self, "You have unsaved changes ($titles). Discard changes and continue anyway?", | ||||
|                                              'Unsaved Presets', wxICON_QUESTION | wxOK | wxCANCEL); | ||||
|         return ($confirm->ShowModal == wxID_OK); | ||||
|                                              'Unsaved Presets', wxICON_QUESTION | wxYES_NO | wxNO_DEFAULT); | ||||
|         return ($confirm->ShowModal == wxID_YES); | ||||
|     } | ||||
|      | ||||
|     return 1; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Henrik Brix Andersen
						Henrik Brix Andersen