Merge pull request #1020 from PySimpleGUI/revert-1014-icon-fix

Revert "Fixed default Icon not working for Popups"
This commit is contained in:
MikeTheWatchGuy 2019-01-02 17:19:06 -05:00 committed by GitHub
commit cdbf3064b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3420,7 +3420,7 @@ class Window:
self.Font = font if font else DEFAULT_FONT
self.RadioDict = {}
self.BorderDepth = border_depth
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.WindowIcon = icon if icon is not None else Window.user_defined_icon
self.AutoClose = auto_close
self.NonBlocking = False
self.TKroot = None