Core: Tree: Allow reordering in root and groups allowing it (parts, groups
This commit is contained in:
committed by
Chris Hennes
parent
cc5d4146cf
commit
fec1a86e30
@@ -48,6 +48,9 @@ public:
|
||||
/// deliver the icon shown in the tree view
|
||||
QIcon getIcon() const override;
|
||||
|
||||
/* Check whether the object accept reordering of its children during drop.*/
|
||||
bool acceptReorderingObjects() const override { return true; };
|
||||
|
||||
protected:
|
||||
void getViewProviders(std::vector<ViewProviderDocumentObject*>&) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user