Browse Source

Deselect item on 'Reload'

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

5
youtube_dl_gui/mainframe.py

@ -407,6 +407,11 @@ class MainFrame(wx.Frame):
item.reset()
self._status_list._update_from_item(index, item)
# Create deselect event to reset Pause button
selected_row = self._status_list.get_selected()
if selected_row != -1:
self._status_list.Select(selected_row, 0)
def _on_pause(self, event):
selected_row = self._status_list.get_selected()

Loading…
Cancel
Save