diff options
author | sr55 <[email protected]> | 2011-05-08 15:38:03 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-05-08 15:38:03 +0000 |
commit | f5156a21d21ef3358c89522999b3fb7d6e3c1965 (patch) | |
tree | 31fb7371a96f970737b8f567ac3075580cb3a5dd /win/CS | |
parent | a352f237273b8c571e5da48a76fadeb36ed6d55d (diff) |
WinGui:
- Updating a preset wasn't saving the update to disk.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3975 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/PresetService.cs | 3 | ||||
-rw-r--r-- | win/CS/ToolWindows/AdvancedAudio.cs | 5 |
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");
- }
}
}
|