OSDN Git Service

WinGui:
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 23 Nov 2008 21:54:21 +0000 (21:54 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 23 Nov 2008 21:54:21 +0000 (21:54 +0000)
- 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://localhost/HandBrake/trunk@1948 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/frmMain/PresetLoader.cs

index f91194e..f629470 100644 (file)
@@ -27,10 +27,6 @@ namespace Handbrake
             mainWindow.check_iPodAtom.CheckState = CheckState.Unchecked;\r
 \r
             // Now load all the new settings onto the main window\r
-            mainWindow.drp_dvdtitle.Text = "Automatic";\r
-            mainWindow.drop_chapterStart.Text = "Auto";\r
-            mainWindow.drop_chapterFinish.Text = "Auto";\r
-\r
             if (presetQuery.Format != null)\r
             {\r
                 string destination = mainWindow.text_destination.Text;\r
@@ -61,6 +57,9 @@ namespace Handbrake
                     mainWindow.drop_format.SelectedIndex = 3;\r
                 else if (presetQuery.Format == "ogm")\r
                     mainWindow.drop_format.SelectedIndex = 4;\r
+\r
+                if (presetQuery.ChapterMarkers == true && presetQuery.Format == "mp4")\r
+                    mainWindow.drop_format.SelectedIndex = 1;\r
             }\r
 \r
             if (presetQuery.IpodAtom == true)\r