fix #48176 Line break not visible on multimeasure rest

This commit is contained in:
ws 2015-02-23 11:45:04 +01:00
parent 54a6d64d97
commit 3dc040452e
2 changed files with 2 additions and 1 deletions

View file

@ -40,6 +40,7 @@ LayoutBreak::LayoutBreak(const LayoutBreak& lb)
_pause = lb._pause;
_startWithLongNames = lb._startWithLongNames;
_startWithMeasureOne = lb._startWithMeasureOne;
layout0();
}
//---------------------------------------------------------

View file

@ -93,7 +93,7 @@ MeasureBase::~MeasureBase()
void MeasureBase::scanElements(void* data, void (*func)(void*, Element*), bool all)
{
if (type() == Element::Type::MEASURE) {
if (isMeasure()) {
foreach(Element* e, _el) {
if (score()->tagIsValid(e->tag())) {
if (e->staffIdx() >= score()->staves().size())