Arch: small fix in windows - fixes #2193

This commit is contained in:
Yorik van Havre
2015-07-19 12:10:46 -03:00
parent 6b3d7b17a7
commit c2bedaeb96
2 changed files with 2 additions and 2 deletions

View File

@@ -240,7 +240,7 @@ class ComponentTaskPanel:
if it:
mod = None
for a in self.attribs:
if it == getattr(self,"tree"+a):
if it.text(0) == getattr(self,"tree"+a).text(0):
mod = a
for o in FreeCADGui.Selection.getSelection():
addToComponent(self.obj,o,mod)