summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-11-26 15:33:46 +0000
committersr55 <[email protected]>2011-11-26 15:33:46 +0000
commit844ae66d4f53c0b699332e7df04e712397f99a81 (patch)
treeb043b60ed8b2a2bd8da2a4264b0bc6c9db9529d3
parent02ef15e82e63c3d4924fde8a03ef277ee4339785 (diff)
WinGui: Change the audio panel, so that if no tracks are available, the controls will correctly enable/disable based on the encoder.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4363 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--win/CS/Controls/AudioPanel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/Controls/AudioPanel.cs b/win/CS/Controls/AudioPanel.cs
index a7728ae56..fc9083586 100644
--- a/win/CS/Controls/AudioPanel.cs
+++ b/win/CS/Controls/AudioPanel.cs
@@ -248,7 +248,7 @@ namespace Handbrake.Controls
// Some Sanity Checking
if (audioList.SelectedRows.Count == 0)
{
- drp_audioMix.Enabled = drp_audioBitrate.Enabled = drp_audioSample.Enabled = btn_AdvancedAudio.Enabled = false;
+ RefreshEnabledControls();
return;
}