This commit is contained in:
sliptonic
2021-09-01 12:26:29 -05:00
parent 829c1d2a7e
commit ddc4c69e82
4 changed files with 20 additions and 21 deletions

View File

@@ -230,10 +230,7 @@ class ViewProvider:
# make sure the resource view providers are setup properly
if prop == "Model" and self.obj.Model:
for base in self.obj.Model.Group:
if (
base.ViewObject
and base.ViewObject.Proxy
):
if base.ViewObject and base.ViewObject.Proxy:
base.ViewObject.Proxy.onEdit(_OpenCloseResourceEditor)
if (
prop == "Stock"