Merge pull request #1022 from deajan/icon-fix
Allow proper propagation of user defined icon in subwindows
This commit is contained in:
		
						commit
						c6f4c8160e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -3412,7 +3412,7 @@ class Window: | |||
|         self.Font = font if font else DEFAULT_FONT | ||||
|         self.RadioDict = {} | ||||
|         self.BorderDepth = border_depth | ||||
|         self.WindowIcon = icon if icon is not None else Window.user_defined_icon | ||||
|         self.WindowIcon = self.WindowIcon = Window.user_defined_icon if Window.user_defined_icon is not None else icon if icon is not None else DEFAULT_WINDOW_ICON | ||||
|         self.AutoClose = auto_close | ||||
|         self.NonBlocking = False | ||||
|         self.TKroot = None | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue