Merge pull request #6073 from IsaacWeiss/305265-bracket-span
Fix #305265: Bracket added from palette only spans one staff regardless of selection
This commit is contained in:
parent
85830f4921
commit
08a16c86af
1 changed files with 2 additions and 1 deletions
|
@ -1425,7 +1425,8 @@ Element* Measure::drop(EditData& data)
|
|||
}
|
||||
firstStaff++;
|
||||
}
|
||||
score()->undoAddBracket(staff, level, b->bracketType(), 1);
|
||||
Selection sel = score()->selection();
|
||||
score()->undoAddBracket(staff, level, b->bracketType(), sel.staffEnd() - sel.staffStart());
|
||||
delete b;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue