diff options
author | sr55 <[email protected]> | 2010-09-11 20:08:44 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-09-11 20:08:44 +0000 |
commit | bf56093dd269ab72ba836f17c8e377ee7120a397 (patch) | |
tree | 585719ad1cc4a19b362ee6c7253b366708718a74 /win | |
parent | f2629a7d079b7a20dd53b94b1dce8a7e112b3e32 (diff) |
WinGui:
- Hide the Angle dropdown if the cli "+ angle" string is not present when using libdvdnav
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3516 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r-- | win/C#/frmMain.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 3bd595353..91a7c3415 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -1392,6 +1392,12 @@ namespace Handbrake for (int i = 1; i <= selectedTitle.AngleCount; i++)
drop_angle.Items.Add(i.ToString());
+ if (drop_angle.Items.Count == 0)
+ {
+ drop_angle.Visible = false;
+ lbl_angle.Visible = false;
+ }
+
if (drop_angle.Items.Count != 0)
drop_angle.SelectedIndex = 0;
}
|