summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-08-27 21:50:01 +0000
committersr55 <[email protected]>2011-08-27 21:50:01 +0000
commit915363d852a04538d70e69b8efada8f6a7603e28 (patch)
treef8f31d501bca0651d1108bb4f5dd48348694d3ef /win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs
parent3e32e57c216db0b6acf6166b9f23f2ede3aece30 (diff)
WinGui: Broke the preset loader in the last commit. Now Fixed.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4195 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs
index a4d8d9787..99e673db9 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs
@@ -175,9 +175,12 @@ namespace HandBrake.ApplicationServices.Utilities
int.Parse(actCropValues[1]),
int.Parse(actCropValues[2]),
int.Parse(actCropValues[3]));
+ parsed.HasCropping = true;
}
catch (Exception)
{
+ parsed.Cropping = null;
+ parsed.HasCropping = false;
// No need to do anything.
}
}