diff options
author | sr55 <[email protected]> | 2009-07-18 11:43:18 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-07-18 11:43:18 +0000 |
commit | de8a889c21bfc2d7c9faa957d4b95450247c9628 (patch) | |
tree | 3cc19c7d4870a8d29bc9fda7b39b4ed9f734bb8a | |
parent | 9148e415545807b62354fd26cb7e640fb8d3ee7e (diff) |
WinGui:
- Small bugfix to make sure the correct native language audio track is selected.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2712 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | win/C#/Controls/AudioPanel.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/win/C#/Controls/AudioPanel.cs b/win/C#/Controls/AudioPanel.cs index ef8d87048..67ee331d9 100644 --- a/win/C#/Controls/AudioPanel.cs +++ b/win/C#/Controls/AudioPanel.cs @@ -18,7 +18,7 @@ namespace Handbrake.Controls InitializeComponent();
drp_audioMix.SelectedIndex = 0;
}
-
+
// Audio Track Options
private void drp_audioTrack_SelectedIndexChanged(object sender, EventArgs e)
{
@@ -239,7 +239,10 @@ namespace Handbrake.Controls foreach (object item in drp_audioTrack.Items)
{
if (item.ToString().Contains(Properties.Settings.Default.NativeLanguage))
+ {
drp_audioTrack.SelectedIndex = i;
+ break;
+ }
i++;
}
@@ -335,7 +338,7 @@ namespace Handbrake.Controls drp_audioBitrate.Items.Add("384");
else
drp_audioBitrate.Items.Remove("384");
- }
+ }
else
{
drp_audioBitrate.Items.Remove("192");
|