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.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/C#/Functions/PresetLoader.cs b/win/C#/Functions/PresetLoader.cs
index 645a2ba81..b484b6958 100644
--- a/win/C#/Functions/PresetLoader.cs
+++ b/win/C#/Functions/PresetLoader.cs
@@ -184,7 +184,8 @@ namespace Handbrake.Functions
{
int presetVal;
int.TryParse(presetQuery.VideoQuality.ToString(), out presetVal);
- mainWindow.slider_videoQuality.Value = presetVal;
+ if (presetVal > mainWindow.slider_videoQuality.Minimum)
+ mainWindow.slider_videoQuality.Value = presetVal;
}