summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain/PresetLoader.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-11-23 21:54:21 +0000
committersr55 <[email protected]>2008-11-23 21:54:21 +0000
commit6c5caabe379f39710f2a1f9b7493fcd913082fc6 (patch)
tree8e5a056a069b0fe19a6c06300e0ec1be78d6598c /win/C#/frmMain/PresetLoader.cs
parenta017ea4d48f77c6deb346759922467b3d42a0396 (diff)
WinGui:
- Seriously? Again? yes, well, 2 big bugs right after release. Release build update with these fixes. - Presets don't set m4v correctly. - Presets reset Title and chapters to auto. (this is bad) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1948 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain/PresetLoader.cs')
-rw-r--r--win/C#/frmMain/PresetLoader.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/win/C#/frmMain/PresetLoader.cs b/win/C#/frmMain/PresetLoader.cs
index f91194e02..f6294709c 100644
--- a/win/C#/frmMain/PresetLoader.cs
+++ b/win/C#/frmMain/PresetLoader.cs
@@ -27,10 +27,6 @@ namespace Handbrake
mainWindow.check_iPodAtom.CheckState = CheckState.Unchecked;
// Now load all the new settings onto the main window
- mainWindow.drp_dvdtitle.Text = "Automatic";
- mainWindow.drop_chapterStart.Text = "Auto";
- mainWindow.drop_chapterFinish.Text = "Auto";
-
if (presetQuery.Format != null)
{
string destination = mainWindow.text_destination.Text;
@@ -61,6 +57,9 @@ namespace Handbrake
mainWindow.drop_format.SelectedIndex = 3;
else if (presetQuery.Format == "ogm")
mainWindow.drop_format.SelectedIndex = 4;
+
+ if (presetQuery.ChapterMarkers == true && presetQuery.Format == "mp4")
+ mainWindow.drop_format.SelectedIndex = 1;
}
if (presetQuery.IpodAtom == true)