Arch: Extended role property to all Arch objects - fixes #1577

This commit is contained in:
Yorik van Havre
2014-09-21 15:12:06 -03:00
parent b7f25be562
commit e3554a7805
7 changed files with 9 additions and 9 deletions

View File

@@ -608,7 +608,6 @@ class _Window(ArchComponent.Component):
obj.addProperty("App::PropertyLength","Height","Arch",translate("Arch","The height of this window (for preset windows only)"))
obj.addProperty("App::PropertyVector","Normal","Arch",translate("Arch","The normal direction of this window"))
obj.addProperty("App::PropertyInteger","Preset","Arch","")
obj.addProperty("App::PropertyEnumeration","Role","Arch",translate("Arch","The role of this window"))
obj.setEditorMode("Preset",2)
self.Type = "Window"