mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Wait for visibility before setting a grab. Fixes #946153.
This commit is contained in:
		
							parent
							
								
									f901abdd62
								
							
						
					
					
						commit
						b217cd802e
					
				
					 3 changed files with 3 additions and 0 deletions
				
			
		|  | @ -61,6 +61,7 @@ def __init__(self, parent, title = None): | |||
| 
 | ||||
|         self.buttonbox() | ||||
| 
 | ||||
|         self.wait_visibility() # window needs to be visible for the grab | ||||
|         self.grab_set() | ||||
| 
 | ||||
|         if not self.initial_focus: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Martin v. Löwis
						Martin v. Löwis