summaryrefslogtreecommitdiffstats
path: root/win/C#/Presets/PresetsHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Presets/PresetsHandler.cs')
-rw-r--r--win/C#/Presets/PresetsHandler.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/win/C#/Presets/PresetsHandler.cs b/win/C#/Presets/PresetsHandler.cs
index bd756c08d..616154534 100644
--- a/win/C#/Presets/PresetsHandler.cs
+++ b/win/C#/Presets/PresetsHandler.cs
@@ -76,6 +76,15 @@ namespace Handbrake.Presets
}
/// <summary>
+ /// Remove all built in presets;
+ /// </summary>
+ public void removeBuiltInPresets()
+ {
+ presets.Clear();
+ updatePresetsFile();
+ }
+
+ /// <summary>
/// Save changes to a given preset in the user preset list.
/// </summary>
/// <param name="presetName">String, The name of the new preset</param>