From 3b80b34d60eb8ec50cc9a35ac4c16e5c23aa5f5c Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Tue, 13 Feb 2018 10:54:06 -0200 Subject: [PATCH] Arch: Fixed bug in wall not updated on window size change --- src/Mod/Arch/ArchWindow.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/Arch/ArchWindow.py b/src/Mod/Arch/ArchWindow.py index d70e2eb1f6..cb5154afa2 100644 --- a/src/Mod/Arch/ArchWindow.py +++ b/src/Mod/Arch/ArchWindow.py @@ -658,10 +658,12 @@ class _Window(ArchComponent.Component): if not "Restore" in obj.State: if prop in ["Base","WindowParts"]: self.execute(obj) + self.onChanged(obj,"Hosts") elif prop in ["HoleDepth"]: for o in obj.InList: if Draft.getType(o) in AllowedHosts: o.Proxy.execute(o) + self.onChanged(obj,"Hosts") if prop in ["Width","Height"]: if obj.Preset != 0: if obj.Base: @@ -682,6 +684,7 @@ class _Window(ArchComponent.Component): # restoring constraints when loading a file fails # because of load order, but it doesn't harm... pass + self.onChanged(obj,"Hosts") else: ArchComponent.Component.onChanged(self,obj,prop)