musescore/MuseScore — pull request #1551 by AntonioBL (2014-12-18 14:34:38+00:00)
Title: fix #41506 : crash on paste if a chordrest with spanner would cross a ba...

...rline

Updated also for the rest, since some spanners (e.g. slurs, hairpins) between a note and a rest are possible.