musescore/MuseScore — pull request #1263 by MarcSabatella (2014-09-02 02:44:23+00:00)
Title: fix #31721: crash after entry of empty harmony / fb

harmonyEndEdit et al were already removing the element. I could have just removed these functions, but one could imagine them having other purposes in addition to removing the empty element.