Skip to content

Commit

Permalink
Draft: fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Aug 8, 2016
1 parent 40b878d commit 8b3f8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Draft/DraftGui.py
Expand Up @@ -140,7 +140,7 @@ def displayExternal(internValue,decimals=None,dim='Length',showUnit=True):
from FreeCAD import Units
if dim == 'Length':
q = FreeCAD.Units.Quantity(internValue,FreeCAD.Units.Length)
if (decimals == None) and showunit:
if (decimals == None) and showUnit:
return q.UserString
conversion = q.getUserPreferred()[1]
uom = q.getUserPreferred()[2]
Expand Down

0 comments on commit 8b3f8cc

Please sign in to comment.