No sound on upgrade to 2.2 if default soundfont was saved as default
- In MuseScore 2.1, in synthesizer, add a soundfont, delete the soundfont. It should unlock the "save as default" button
- Save as default
- Upgrade to 2.2 (it will delete the default soundfont FluidR3Mono and replace it with MuseScore General)
- Launch MuseScore and play --> not sound
- Workaround: Open Synthesizer and add the default soundfont again or revert to factory settings, loosing all palettes, shortcuts etc... (or manually delete synthesizer.xml)
When MuseScore 2 is launched, it will use the "default configuration" that has been saved to disk, it will try to load the old default soundfont and fails. Instead if it fails, it should try to load the new default soundfont.
We can fix it in MasterSynthesizer::init(): load the default state and delete the synthesizer.xml file if we cannot set the state. It will however cause the default state to be loaded for any missing soundfont...