Gui: Replace TreeRank property with a simple int
This fixes that copied & pasted objects are not added at the end of the tree view. See https://forum.freecad.org/viewtopic.php?p=755532#p755532
This commit is contained in:
@@ -77,8 +77,6 @@ ViewProviderDocumentObject::ViewProviderDocumentObject()
|
||||
"Element: On top only if some sub-element of the object is selected");
|
||||
OnTopWhenSelected.setEnums(OnTopEnum);
|
||||
|
||||
ADD_PROPERTY_TYPE(TreeRank, (-1), dogroup, App::Prop_Hidden, "Tree view item ordering key");
|
||||
|
||||
sPixmap = "Feature";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user