diff --git a/ToDo b/ToDo index 2a4f415..8ca680c 100644 --- a/ToDo +++ b/ToDo @@ -1,4 +1,3 @@ -* Add missing icon on options frame * Refactor my ugly code * Redesign options window diff --git a/youtube_dl_gui/OptionsFrame.py b/youtube_dl_gui/OptionsFrame.py index ab2b944..0275285 100644 --- a/youtube_dl_gui/OptionsFrame.py +++ b/youtube_dl_gui/OptionsFrame.py @@ -128,6 +128,11 @@ class OptionsFrame(wx.Frame): self.opt_manager = opt_manager + # Add icon + icon = get_icon_path() + if icon is not None: + self.SetIcon(wx.Icon(icon, wx.BITMAP_TYPE_PNG)) + # Create GUI panel = wx.Panel(self) notebook = wx.Notebook(panel)