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:
wmayer
2024-05-05 18:50:55 +02:00
committed by Yorik van Havre
parent 7eeb3a43cc
commit a2037c9dc4
4 changed files with 41 additions and 24 deletions

View File

@@ -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";
}