diff --git a/src/Mod/Arch/ArchFloor.py b/src/Mod/Arch/ArchFloor.py index b55c148d5e..1c41b59eba 100644 --- a/src/Mod/Arch/ArchFloor.py +++ b/src/Mod/Arch/ArchFloor.py @@ -64,7 +64,7 @@ class _CommandFloor: floorobj = [] warning = False for obj in sel : - if not Draft.getType(obj) in ["Site", "Building","Floor"] : + if not Draft.getType(obj) in ["Site", "Building"] : floorobj.append(obj) else : if link == True : @@ -73,7 +73,7 @@ class _CommandFloor: warning = True if warning : message = "You can put anything but Site, Building, Floor object in a Floor object.\n\ -Floor object are not allowed to accept Site, Building or Floor object.\n\ +Floor object are not allowed to accept Site or Building object.\n\ Site, Building and Floor objects will be removed from the selection.\n\ You can change that in the preferences.\n" self.printMessage( message )