summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/PresetLoader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Functions/PresetLoader.cs')
-rw-r--r--win/C#/Functions/PresetLoader.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/win/C#/Functions/PresetLoader.cs b/win/C#/Functions/PresetLoader.cs
index 043436c02..28cec6805 100644
--- a/win/C#/Functions/PresetLoader.cs
+++ b/win/C#/Functions/PresetLoader.cs
@@ -45,14 +45,9 @@ namespace Handbrake.Functions
if (presetQuery.Format != null)
{
- if (presetQuery.Format == "mp4")
+ if (presetQuery.Format == "mp4" || presetQuery.Format == "m4v")
mainWindow.drop_format.SelectedIndex = 0;
- else if (presetQuery.Format == "m4v")
- mainWindow.drop_format.SelectedIndex = 1;
else if (presetQuery.Format == "mkv")
- mainWindow.drop_format.SelectedIndex = 2;
-
- if (presetQuery.ChapterMarkers && presetQuery.Format == "mp4")
mainWindow.drop_format.SelectedIndex = 1;
}