fixing typos

This commit is contained in:
Ian Abreu
2025-07-06 16:30:53 -04:00
parent 41500dcffb
commit 7908b3b266
2 changed files with 2 additions and 2 deletions

View File

@@ -263,7 +263,7 @@ class CommandPathInspect:
selection = FreeCADGui.Selection.getSelection()
if len(selection) == 0:
return False
obj = selection[0].Object
obj = selection[0]
return hasattr(obj, "Path") and len(obj.Path.Commands) > 0
def Activated(self):

View File

@@ -56,7 +56,7 @@ class CommandCAMSanity:
}
def IsActive(self):
selection = FreeCADGui.Selection.getSelection()
selection = FreeCADGui.Selection.getSelectionEx()
if len(selection) == 0:
return False
obj = selection[0].Object