Fixed default HideUnits option to FALSE

This commit is contained in:
hokieengr
2018-07-18 19:41:19 -04:00
committed by Yorik van Havre
parent d7e5534d51
commit 2b08754c17

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);