Skip to content

Commit

Permalink
Fixed default HideUnits option to FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
hokieengr authored and yorikvanhavre committed Jul 23, 2018
1 parent d7e5534 commit 2b08754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Sketcher/Gui/ViewProviderSketch.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 2b08754

Please sign in to comment.