Skip to content

Commit

Permalink
Merge pull request #170 from Soerboe/fix19687
Browse files Browse the repository at this point in the history
fix #19687 : moving bracket causes crash
  • Loading branch information
lasconic committed Jan 30, 2013
2 parents c1b860b + f69f8f3 commit a92b31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/bracket.cpp
Expand Up @@ -344,7 +344,7 @@ bool Bracket::edit(MuseScoreView*, int, int key, Qt::KeyboardModifiers modifiers
BracketType bt = staff()->bracket(_column);
staff()->setBracket(_column, NO_BRACKET);
staff()->setBracket(l, bt);
staff()->setBracketSpan(l, _firstStaff - _lastStaff + 1);
staff()->setBracketSpan(l, _lastStaff - _firstStaff + 1);
score()->moveBracket(staffIdx(), _column, l);
score()->setLayoutAll(true);
break;
Expand Down

0 comments on commit a92b31d

Please sign in to comment.