mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
This commit is contained in:
		
							parent
							
								
									764a7ec8ca
								
							
						
					
					
						commit
						a398e2d059
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -819,7 +819,7 @@ def maybesave(self): | |||
| 
 | ||||
|     def close(self): | ||||
|         reply = self.maybesave() | ||||
|         if reply != "cancel": | ||||
|         if str(reply) != "cancel": | ||||
|             self._close() | ||||
|         return reply | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Matthias Klose
						Matthias Klose