musescore/MuseScore — pull request #1580 by MarcSabatella (2014-12-26 06:32:19+00:00)
Title: fix #42231: crash on delete all measures if frame present

Check for null pointer. Not sure if there is something in particular we should be doing if so, but doing nothing seems to work.