Arch: Hide/show windows together with their parents - fixes #1733
This commit is contained in:
@@ -639,6 +639,10 @@ class ViewProviderComponent:
|
||||
return
|
||||
|
||||
def onChanged(self,vobj,prop):
|
||||
if prop == "Visibility":
|
||||
for obj in vobj.Object.Additions+vobj.Object.Subtractions:
|
||||
if Draft.getType(obj) == "Window":
|
||||
obj.ViewObject.Visibility = vobj.Visibility
|
||||
return
|
||||
|
||||
def attach(self,vobj):
|
||||
|
||||
Reference in New Issue
Block a user