From 54fcf5743a1f5cbe524d146e1d3d4f75b10bc924 Mon Sep 17 00:00:00 2001 From: Eism Date: Tue, 19 Sep 2023 16:21:48 +0200 Subject: [PATCH] fixed #19432: Setting the parent for rootItem to correctly define accessibleRoot see AccessibleItem::accessibleRoot() --- src/engraving/dom/score.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engraving/dom/score.cpp b/src/engraving/dom/score.cpp index 0557fcc640..0ac676f942 100644 --- a/src/engraving/dom/score.cpp +++ b/src/engraving/dom/score.cpp @@ -152,6 +152,7 @@ Score::Score() m_style = DefaultStyle::defaultStyle(); m_rootItem = new RootItem(this); + m_rootItem->setParent(this); m_rootItem->init(); //! NOTE Looks like a bug, `minimumPaddingUnit` is set using the default style's spatium value