musescore/MuseScore — pull request #370 by mgavioli (2013-05-21 11:18:15+00:00)
Title: Fix #21162 - Remove ties to notes of a removed Chord

Fix #21162 - When a chord is removed, ties to it remain behind and attach to casual notes

Fixed in RemoveElement::RemoveElement() by handling Chord's Notes tieBack

Also removes tieFor in a cleaner way.