diff --git a/youtube_dl_gui/OptionsFrame.py b/youtube_dl_gui/OptionsFrame.py index 0ae9f1b..91a1230 100644 --- a/youtube_dl_gui/OptionsFrame.py +++ b/youtube_dl_gui/OptionsFrame.py @@ -958,9 +958,11 @@ class GeneralPanel(wx.Panel): ''' Event handler about button. ''' info = wx.AboutDialogInfo() - icon = wx.Icon(get_icon_path(), wx.BITMAP_TYPE_PNG) - - info.SetIcon(icon) + # Load about icon + app_icon = get_icon_path() + if app_icon is not None: + info.SetIcon(wx.Icon(app_icon, wx.BITMAP_TYPE_PNG)) + info.SetName(__appname__) info.SetVersion(__version__) info.SetDescription(__descriptionfull__)