adding a section break to a score with parts and deleting it again causes crash
adding a section break to a score with parts and deleting it again causes crash, debug output:
Fatal: ASSERT: "el->score() == score()" in file ...\MuseScore\libmscore\measure.cpp, line 882 (:0, )
selfbuilt 69d5437, Windows 7 (Enterprise, 64bit)
Comments
Works fine if break is added before parts are generated (then deleted afterwards). I think when the break is added to the parts, it is being added with the wrong parent.
https://github.com/musescore/MuseScore/pull/1765
wow, a one-line fix ;-)
I often find the Q_ASSERT statements scattered throughout the code more annoying than helpful, but I have to admit, this one pinpointed the problem instantly.
Fixed in 06628aaf35
Well, wasn't at all obvious to me
Thanks!
Automatically closed -- issue fixed for 2 weeks with no activity.