New Score Wizard crashes if "Done" is pressed when "Choose Instruments" is selected.
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
Steps to reproduce:
Open the new score wizard.
Press Continue.
At this point, "Choose Instruments" should be selected.
Press Done.
Result: The program crashes.
The crash can be prevented by adding this line at the beginning of NewWizardTemplatePage::templateChanged():
setFinalPage(QFileInfo(s).completeBaseName() != "00-Blank");
This has the effect of disabling the "Done" button if "Choose Instruments" is selected, which is exactly what we want to do, since in this case the next step is for the user to choose the desired instruments.
Fix version
3.0.1
Comments
See https://github.com/musescore/MuseScore/pull/4558.
Fixed in branch master, commit e78dfe3d68
fix #281573: New Score Wizard crashes if "Done" is pressed when "Choose Instruments" is selected.
Fixed in branch master, commit 2f0a28aeb0
Merge pull request #4558 from mattmcclinch/281573-choose-instruments
fix #281573: New Score Wizard crashes if "Done" is pressed when "Choose Instruments" is selected.
Automatically closed -- issue fixed for 2 weeks with no activity.