diff --git a/src/Mod/BIM/ArchStairs.py b/src/Mod/BIM/ArchStairs.py index 136f4757cc..33fa12fd38 100644 --- a/src/Mod/BIM/ArchStairs.py +++ b/src/Mod/BIM/ArchStairs.py @@ -399,14 +399,9 @@ class _Stairs(ArchComponent.Component): ) landingsEnum = ["None", "At center"] if not obj.getEnumerationsOfProperty("Landings") == landingsEnum: - landingsCur = obj.Landings obj.Landings = landingsEnum - # For a new object landingsCur is None. - # For an object with the old enumeration it is "None", "At center" or "At each corner". - if landingsCur == "At center": - obj.Landings = landingsCur - else: - obj.Landings = "None" + # For an object with the old enumeration: ["None", "At center", "At each corner"], + # "At each corner" is automatically replaced by "None". Other values are kept. # Not implemented yet, remarked out at the moment # if not "Winders" in pl: