restored missing TBox::scanElements (see #10536)
This commit is contained in:
parent
c8ff280412
commit
f68cbe4087
2 changed files with 7 additions and 0 deletions
|
@ -680,6 +680,12 @@ EngravingObjectList TBox::scanChildren() const
|
||||||
return children;
|
return children;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void TBox::scanElements(void* data, void (*func)(void*, EngravingItem*), bool all)
|
||||||
|
{
|
||||||
|
_text->scanElements(data, func, all);
|
||||||
|
Box::scanElements(data, func, all);
|
||||||
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------
|
//---------------------------------------------------------
|
||||||
// dumpScoreTree
|
// dumpScoreTree
|
||||||
/// for debugging purposes
|
/// for debugging purposes
|
||||||
|
|
|
@ -47,6 +47,7 @@ public:
|
||||||
// Score Tree functions
|
// Score Tree functions
|
||||||
EngravingObject* scanParent() const override;
|
EngravingObject* scanParent() const override;
|
||||||
EngravingObjectList scanChildren() const override;
|
EngravingObjectList scanChildren() const override;
|
||||||
|
void scanElements(void* data, void (*func)(void*, EngravingItem*), bool all = true) override;
|
||||||
|
|
||||||
TBox* clone() const override { return new TBox(*this); }
|
TBox* clone() const override { return new TBox(*this); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue