restored missing TBox::scanElements (see #10536)

This commit is contained in:
Roman Pudashkin 2022-05-14 16:51:12 +02:00
parent c8ff280412
commit f68cbe4087
2 changed files with 7 additions and 0 deletions

View file

@ -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

View file

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