Crash when deleting header/footer text after hiding
Steps to reproduce:
Open any score and select the header, footer or page numbers.
Press V to hide the text.
Press Delete to delete the text, and MuseScore crashes. This only occurs once the text has been hidden, unhiding it and deleting it will still produce the crash.
It's also worth noting that
A. header/footer text doesn't visually update to be hidden until you click off of it, and
B. it is currently impossible to delete header or footer text at all using Delete, even before hiding it.
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 22.214.171.12499, revision: 43c5553