Crash when adding text to a ChordRest
When I try to add text to any chord/rest, MuseScore crashes.
This is a result of commit 6b8a6461f3 to fix #272380: Rehearsal marks from palette (B1) are not generated automatically.
The reason for the crash is that Element* e
is assumed to be of type ElementType::REHEARSAL_MARK
. This is not a safe assumption, because the cases for several other ElementTypes fall through to this point in the switch statement.
Comments
See fix #273919: Crash when adding text to a ChordRest #3779.
Fixed in branch master, commit 848c5e44eb
fix #273919: Crash when adding text to a ChordRest
Fixed in branch master, commit 5de198136a
Merge pull request #3779 from mattmcclinch/273919-chordrest-text
fix #273919: Crash when adding text to a ChordRest
Automatically closed -- issue fixed for 2 weeks with no activity.