Arch: Small fix in windows

This commit is contained in:
Yorik van Havre
2013-07-06 13:30:26 -03:00
parent 44c34b1ce8
commit e90a9e57a9

View File

@@ -467,6 +467,8 @@ class _ArchWindowTaskPanel:
t = WindowPartTypes[0]
else:
t = str(getattr(self,"field"+str(i+1)).text())
if t in WindowPartTypes:
t = t + "_" # avoiding part names similar to types
if t == "":
if not(i in [1,5]):
ok = False