Browse Source

Fixed DASH video/audio combo-box bug

doc-issue-template
MrS0m30n3 11 years ago
parent
commit
bdd520fd28
1 changed files with 4 additions and 0 deletions
  1. 4
      youtube_dl_gui/YoutubeDLGUI.py

4
youtube_dl_gui/YoutubeDLGUI.py

@ -454,7 +454,11 @@ class VideoPanel(wx.Panel):
def OnVideoFormatPick(self, event):
if video_is_dash(self.videoFormatCombo.GetValue()):
self.dashAudioFormatCombo.Enable()
if have_dash_audio(self.dashAudioFormatCombo.GetValue()):
self.clearDashFilesChk.Enable()
else:
self.clearDashFilesChk.SetValue(False)
self.clearDashFilesChk.Disable()
self.dashAudioFormatCombo.Disable()
def load_options(self):

Loading…
Cancel
Save