summaryrefslogtreecommitdiffstats
path: root/win/CS/frmAddPreset.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/frmAddPreset.cs')
-rw-r--r--win/CS/frmAddPreset.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/frmAddPreset.cs b/win/CS/frmAddPreset.cs
index da3b1baf4..6bbfb3918 100644
--- a/win/CS/frmAddPreset.cs
+++ b/win/CS/frmAddPreset.cs
@@ -10,6 +10,7 @@ namespace Handbrake
using HandBrake.ApplicationServices.Model;
using HandBrake.ApplicationServices.Services;
+ using HandBrake.ApplicationServices.Utilities;
using Handbrake.Functions;
using Handbrake.Model;
@@ -88,7 +89,7 @@ namespace Handbrake
Query = query,
CropSettings = pictureSettingsMode != QueryPictureSettingsMode.None,
Description = string.Empty,
- AudioPassthruSettings = mainWindow.AudioSettings.PassthruSettings
+ Task = QueryParserUtility.Parse(query),
};
if (presetCode.Add(preset))