summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-04-23 22:10:44 +0000
committersr55 <[email protected]>2010-04-23 22:10:44 +0000
commit63589dc23e487ff7d2b839e74dc65d6157f02a22 (patch)
tree3c9e93b973d44338f49fbfe86b29502ca9c51ad9 /win/C#/frmMain.cs
parent9d83f1c5539761bcae5b351669ac8a5c7bb1eace (diff)
WinGui:
- Updated to make sure of the MainFeature feature. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3256 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 0894d6a81..763f2d360 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -1686,9 +1686,13 @@ namespace Handbrake
if (currentSource.Titles.Count != 0)
drp_dvdtitle.Items.AddRange(currentSource.Titles.ToArray());
- // Now select the longest title
- if (currentSource.Titles.Count != 0)
- drp_dvdtitle.SelectedItem = Main.SelectLongestTitle(currentSource);
+ foreach (Title title in currentSource.Titles)
+ {
+ if (title.MainTitle)
+ {
+ drp_dvdtitle.SelectedItem = title;
+ }
+ }
// Enable the creation of chapter markers if the file is an image of a dvd.
int start, end;