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:
committed by
Yorik van Havre
parent
13bf2c9672
commit
5a26558a9d
@@ -81,7 +81,9 @@ DrawPage::DrawPage(void)
|
||||
|
||||
ADD_PROPERTY_TYPE(KeepUpdated, (autoUpdate), group, (App::PropertyType)(App::Prop_None), "Keep page in sync with model");
|
||||
ADD_PROPERTY_TYPE(Template, (0), group, (App::PropertyType)(App::Prop_None), "Attached Template");
|
||||
Template.setScope(App::LinkScope::Global);
|
||||
ADD_PROPERTY_TYPE(Views, (0), group, (App::PropertyType)(App::Prop_None), "Attached Views");
|
||||
Views.setScope(App::LinkScope::Global);
|
||||
|
||||
// Projection Properties
|
||||
ProjectionType.setEnums(ProjectionTypeEnums);
|
||||
|
||||
Reference in New Issue
Block a user