Fixed default HideUnits option to FALSE

This commit is contained in:
hokieengr
2018-07-23 12:44:26 -03:00
committed by Yorik van Havre
parent d7e5534d51
commit 2b08754c17
+1 -1
View File
@@ -2759,7 +2759,7 @@ QString ViewProviderSketch::getPresentationString(const Constraint *constraint)
// Get value of HideUnits option. Default is false.
hGrpSketcher = App::GetApplication().GetUserParameter().GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod/Sketcher");
iHideUnits = hGrpSketcher->GetBool("HideUnits", 0l);
iHideUnits = hGrpSketcher->GetBool("HideUnits", 0);
// Get the current display string including units
userStr = constraint->getPresentationValue().getUserString(factor, unitStr);