Fix out of scope warnings

- Links within TD were not set to Global scope. This caused
  problems when a Page was in a container, but Views were not
  in the container.
This commit is contained in:
wandererfan
2019-01-21 13:06:02 -05:00
committed by Yorik van Havre
parent 13bf2c9672
commit 5a26558a9d
19 changed files with 11 additions and 12 deletions

View File

@@ -55,6 +55,7 @@ DrawViewClip::DrawViewClip(void)
ADD_PROPERTY_TYPE(ShowFrame ,(0) ,group,App::Prop_None,"Specifies if the clip frame appears on the page or not");
ADD_PROPERTY_TYPE(ShowLabels ,(0) ,group,App::Prop_None,"Specifies if View labels appear within the clip area");
ADD_PROPERTY_TYPE(Views ,(0) ,group,App::Prop_None,"The Views in this Clip group");
Views.setScope(App::LinkScope::Global);
// hide N/A properties
ScaleType.setStatus(App::Property::ReadOnly,true);