Drag-and-drop file: Question 'Discard unsaved changes' now works
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1580 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
		
							parent
							
								
									190cfe1315
								
							
						
					
					
						commit
						858bab41c4
					
				@ -662,7 +662,11 @@ void Main_handler(void)
 | 
			
		||||
    else if (Drop_file_name)
 | 
			
		||||
    {
 | 
			
		||||
      // A file was dragged into Grafx2's window
 | 
			
		||||
      if ( (!Main_image_is_modified) || Confirmation_box("Discard unsaved changes ?") )
 | 
			
		||||
      if (Main_image_is_modified && !Confirmation_box("Discard unsaved changes ?"))
 | 
			
		||||
      {
 | 
			
		||||
        // do nothing
 | 
			
		||||
      }
 | 
			
		||||
      else
 | 
			
		||||
      {
 | 
			
		||||
        T_IO_Context context;
 | 
			
		||||
        char* flimit;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user