Browse Source

ExtraTab: Implement load-save options methods

doc-issue-template
MrS0m30n3 8 years ago
parent
commit
8d571c2891
1 changed files with 4 additions and 2 deletions
  1. 6
      youtube_dl_gui/optionsframe.py

6
youtube_dl_gui/optionsframe.py

@ -733,10 +733,12 @@ class ExtraTab(TabPanel):
self.SetSizer(main_sizer)
def load_options(self):
pass
self.cmdline_args_textctrl.SetValue(self.opt_manager.options["cmd_args"])
self.ignore_errors_checkbox.SetValue(self.opt_manager.options["ignore_errors"])
def save_options(self):
pass
self.opt_manager.options["cmd_args"] = self.cmdline_args_textctrl.GetValue()
self.opt_manager.options["ignore_errors"] = self.ignore_errors_checkbox.GetValue()
class LogGUI(wx.Frame):

Loading…
Cancel
Save