File selector no longer exits event loop when you enter a filename and exit the textfield.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1138 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
		
							parent
							
								
									1406e74f56
								
							
						
					
					
						commit
						d41b612931
					
				@ -1388,7 +1388,7 @@ byte Button_Load_or_Save(byte load, byte image)
 | 
			
		||||
          if(load)
 | 
			
		||||
          {
 | 
			
		||||
            // Determine the type
 | 
			
		||||
            if(File_exists(Main_filename)) 
 | 
			
		||||
            if(File_exists(Main_filename))
 | 
			
		||||
            {
 | 
			
		||||
              Selected_type = 0;
 | 
			
		||||
              if(Directory_exists(Main_filename)) Selected_type = 1;
 | 
			
		||||
@ -1403,7 +1403,6 @@ byte Button_Load_or_Save(byte load, byte image)
 | 
			
		||||
            if(Directory_exists(Main_filename)) Selected_type = 1;
 | 
			
		||||
            else Selected_type = 0;
 | 
			
		||||
          }
 | 
			
		||||
          has_clicked_ok=1;
 | 
			
		||||
        }
 | 
			
		||||
        else
 | 
			
		||||
        {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user