Skip to content

Commit

Permalink
fix #96246: crash removing null lyric
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Feb 1, 2016
1 parent ba92eeb commit 94a42ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libmscore/chord.cpp
Expand Up @@ -493,6 +493,8 @@ void Chord::add(Element* e)

void Chord::remove(Element* e)
{
if (e == nullptr)
return;
switch(e->type()) {
case Element::Type::NOTE:
{
Expand Down

0 comments on commit 94a42ff

Please sign in to comment.