fixed #19432: Setting the parent for rootItem to correctly define accessibleRoot

see AccessibleItem::accessibleRoot()
This commit is contained in:
Eism 2023-09-19 16:21:48 +02:00
parent 13778116bf
commit 54fcf5743a

View file

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