From bdd520fd287d7271689beccda6e0737f9a41790c Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Wed, 26 Mar 2014 20:25:30 +0200 Subject: [PATCH] Fixed DASH video/audio combo-box bug --- youtube_dl_gui/YoutubeDLGUI.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/youtube_dl_gui/YoutubeDLGUI.py b/youtube_dl_gui/YoutubeDLGUI.py index ffd9883..1b71e87 100644 --- a/youtube_dl_gui/YoutubeDLGUI.py +++ b/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):