Arch: small fix in windows - fixes #2193
This commit is contained in:
parent
6b3d7b17a7
commit
c2bedaeb96
|
@ -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)
|
||||
|
|
|
@ -592,7 +592,7 @@ def getMovableChildren(objectslist,recursive=False):
|
|||
children = obj.OutList
|
||||
if hasattr(obj,"Proxy"):
|
||||
if obj.Proxy:
|
||||
if hasattr(obj.Proxy,"getSiblings"):
|
||||
if hasattr(obj.Proxy,"getSiblings") and not(getType(obj) in ["Window"]):
|
||||
children.extend(obj.Proxy.getSiblings(obj))
|
||||
for child in children:
|
||||
if hasattr(child,"MoveWithHost"):
|
||||
|
|
Loading…
Reference in New Issue
Block a user