Browse Source

Implement _on_reload method

doc-issue-template
MrS0m30n3 8 years ago
parent
commit
b39de195ce
1 changed files with 4 additions and 1 deletions
  1. 5
      youtube_dl_gui/mainframe.py

5
youtube_dl_gui/mainframe.py

@ -401,7 +401,10 @@ class MainFrame(wx.Frame):
print self._download_list._items_list
def _on_reload(self, event):
raise Exception("Implement me!")
for index, item in enumerate(self._download_list.get_items()):
if item.stage == "Paused" or item.progress_stats["status"] == "Error":
item.reset()
self._status_list._update_from_item(index, item)
def _on_pause(self, event):
selected_row = self._status_list.get_selected()

Loading…
Cancel
Save