summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/Common.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Functions/Common.cs')
-rw-r--r--win/C#/Functions/Common.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/win/C#/Functions/Common.cs b/win/C#/Functions/Common.cs
index 7b3e36fc9..8ef4b3b8d 100644
--- a/win/C#/Functions/Common.cs
+++ b/win/C#/Functions/Common.cs
@@ -110,7 +110,13 @@ namespace Handbrake.Functions
#region Picture
if (presetQuery.CropTop == "0" && presetQuery.CropBottom == "0" && presetQuery.CropLeft == "0" && presetQuery.CropRight == "0")
- mainWindow.check_autoCrop.Checked = true;
+ {
+ mainWindow.check_customCrop.Checked = true;
+ mainWindow.text_top.Text = "0";
+ mainWindow.text_bottom.Text = "0";
+ mainWindow.text_left.Text = "0";
+ mainWindow.text_right.Text = "0";
+ }
else if (presetQuery.CropTop != null && presetQuery.CropBottom != null && presetQuery.CropLeft != null && presetQuery.CropRight != null)
{
mainWindow.check_customCrop.Checked = true;