mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	AskString always set the dialog id to 257. Fixed.
This commit is contained in:
		
							parent
							
								
									a5a24b76f4
								
							
						
					
					
						commit
						231fffe1d4
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
					@ -72,7 +72,6 @@ def AskString(prompt, default = "", id=257, ok=None, cancel=None):
 | 
				
			||||||
	can be at most 255 characters long.
 | 
						can be at most 255 characters long.
 | 
				
			||||||
	"""
 | 
						"""
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	id = 257
 | 
					 | 
				
			||||||
	d = GetNewDialog(id, -1)
 | 
						d = GetNewDialog(id, -1)
 | 
				
			||||||
	if not d:
 | 
						if not d:
 | 
				
			||||||
		print "Can't get DLOG resource with id =", id
 | 
							print "Can't get DLOG resource with id =", id
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue