Browse Source

OptionsFrame class: Re-enable options load-save

doc-issue-template
MrS0m30n3 8 years ago
parent
commit
d4b51472ad
1 changed files with 3 additions and 4 deletions
  1. 7
      youtube_dl_gui/optionsframe.py

7
youtube_dl_gui/optionsframe.py

@ -74,7 +74,7 @@ class OptionsFrame(wx.Frame):
tab_args = (self, self.notebook)
self.tabs = (
(GeneralTab(*tab_args), self.GENERAL_TAB),
(GeneralTab(*tab_args), "General"),
(FormatsTab(*tab_args), "Formats"),
(DownloadsTab(*tab_args), "Downloads"),
(AdvancedTab(*tab_args), "Advanced"),
@ -90,8 +90,7 @@ class OptionsFrame(wx.Frame):
self.Bind(wx.EVT_CLOSE, self._on_close)
self._set_layout()
#self.load_all_options()
self.load_all_options()
def _set_layout(self):
main_sizer = wx.BoxSizer(wx.VERTICAL)
@ -113,7 +112,7 @@ class OptionsFrame(wx.Frame):
This method is used to save the options and hide the options window.
"""
#self.save_all_options()
self.save_all_options()
self.Hide()
def reset(self):

Loading…
Cancel
Save