Skip to content

Commit

Permalink
Change of duration of measures including grace notes (acciaccatura) c…
Browse files Browse the repository at this point in the history
…auses a crash in tab staff, linked or single
  • Loading branch information
wschweer committed Jan 19, 2015
1 parent 140a510 commit 44ffbbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions libmscore/chord.cpp
Expand Up @@ -2764,6 +2764,8 @@ void Chord::reset()

void Chord::setStemSlash(StemSlash* s)
{
if (_stemSlash && _stemSlash->selected())
score()->selection().remove(_stemSlash);
delete _stemSlash;
_stemSlash = s;
}
Expand Down
1 change: 0 additions & 1 deletion libmscore/stem.cpp
Expand Up @@ -182,7 +182,6 @@ void Stem::draw(QPainter* painter) const
path.closeSubpath();
y += displ;
}
// setbbox(path.boundingRect());
painter->setBrush(QBrush(curColor()));
painter->setPen(Qt::NoPen);
painter->drawPath(path);
Expand Down

0 comments on commit 44ffbbc

Please sign in to comment.