diff --git a/src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py b/src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py index 12ccb096cf..9ffb57ff1c 100644 --- a/src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py +++ b/src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py @@ -1257,7 +1257,7 @@ class CommandPathDressupLeadInOut: return False if not selection[0].isDerivedFrom("Path::Feature"): return False - if selection.Name.startswith("Job"): + if selection[0].Name.startswith("Job"): return False return True