Merge pull request #293 from MikeTheWatchGuy/Dev-latest

Fixed user submitted bug in setting icon in FlexForm init
This commit is contained in:
MikeTheWatchGuy 2018-09-21 15:19:13 -04:00 committed by GitHub
commit c675494a4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -1827,9 +1827,7 @@ class FlexForm:
self.Font = font if font else DEFAULT_FONT
self.RadioDict = {}
self.BorderDepth = border_depth
# self.WindowIcon = icon
# self.WindowIcon = icon if icon else icon_tempfile
self.WindowIcon = icon if not None else _my_windows.user_defined_icon
self.WindowIcon = icon if icon is not None else _my_windows.user_defined_icon
self.AutoClose = auto_close
self.NonBlocking = False
self.TKroot = None