diff options
Diffstat (limited to 'win/C#/Functions/PresetLoader.cs')
-rw-r--r-- | win/C#/Functions/PresetLoader.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/win/C#/Functions/PresetLoader.cs b/win/C#/Functions/PresetLoader.cs index b34fff85d..6730b8e49 100644 --- a/win/C#/Functions/PresetLoader.cs +++ b/win/C#/Functions/PresetLoader.cs @@ -179,7 +179,9 @@ namespace Handbrake.Functions int.TryParse(val.ToString(), out value);
}
- mainWindow.slider_videoQuality.Value = value;
+ int safevalue;
+ int.TryParse(value.ToString(culture), out safevalue);
+ mainWindow.slider_videoQuality.Value = safevalue;
}
else
{
|