summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/PresetService.cs3
-rw-r--r--win/CS/ToolWindows/AdvancedAudio.cs5
2 files changed, 3 insertions, 5 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs b/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
index da5f10e94..a94279a29 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
@@ -125,6 +125,9 @@ namespace HandBrake.ApplicationServices.Services
if (preset.Name == update.Name)
{
preset.Query = update.Query;
+
+ // Update the presets file
+ this.UpdatePresetFiles();
break;
}
}
diff --git a/win/CS/ToolWindows/AdvancedAudio.cs b/win/CS/ToolWindows/AdvancedAudio.cs
index 6b4ebed61..5ac8e819b 100644
--- a/win/CS/ToolWindows/AdvancedAudio.cs
+++ b/win/CS/ToolWindows/AdvancedAudio.cs
@@ -73,11 +73,6 @@ namespace Handbrake.ToolWindows
tb_drc.Value = drcCalculated;
lbl_drc.Text = track.DRC.ToString(Culture);
tb_drc.Enabled = track.TrackDisplay.Contains("(AC3)");
-
- if (!tb_drc.Enabled)
- {
- Console.WriteLine("test");
- }
}
}