Draft: Fixed small bug in Snap Nearest command

This commit is contained in:
Yorik van Havre
2019-01-18 17:39:33 -02:00
parent 42d7c7afd3
commit ae95f77f5a

View File

@@ -5724,7 +5724,7 @@ class Draft_Snap_Near():
if hasattr(FreeCADGui,"Snapper"):
if hasattr(FreeCADGui.Snapper,"toolbarButtons"):
for b in FreeCADGui.Snapper.toolbarButtons:
if b.objectName() == "SnapButtonnear":
if b.objectName() == "SnapButtonpassive":
b.toggle()
class Draft_Snap_Ortho():