App/Gui: add ObjectStatus::NoAutoExpand

Used by App::Origin to disable selection auto expanding in tree view.
This commit is contained in:
Zheng, Lei
2019-09-25 10:45:49 +08:00
committed by wmayer
parent 5f0e060082
commit 8d7287b8a6
4 changed files with 56 additions and 26 deletions

View File

@@ -51,6 +51,8 @@ const char* Origin::PlaneRoles[3] = {"XY_Plane", "XZ_Plane", "YZ_Plane"};
Origin::Origin(void) {
ADD_PROPERTY_TYPE ( OriginFeatures, (0), 0, App::Prop_Hidden,
"Axis and baseplanes controlled by the origin" );
setStatus(App::NoAutoExpand,true);
}