fix #23381: tempo text not displayed in parts

This commit is contained in:
lasconic 2014-02-12 20:36:46 +01:00
parent bb2714c8d9
commit e52a4a1c7f

View file

@ -823,6 +823,7 @@ void Score::undoAddElement(Element* element)
|| ((et == Element::STAFF_TEXT) && static_cast<StaffText*>(element)->systemFlag())
|| (et == Element::JUMP)
|| (et == Element::MARKER)
|| (et == Element::TEMPO_TEXT)
) {
foreach(Score* s, scoreList())
staffList.append(s->staff(0));
@ -843,6 +844,7 @@ void Score::undoAddElement(Element* element)
|| et == Element::STAFF_TEXT
|| (et == Element::JUMP)
|| (et == Element::MARKER)
|| (et == Element::TEMPO_TEXT)
) {
Segment* segment = static_cast<Segment*>(element->parent());
int tick = segment->tick();