New Score Wizard crashes if "Done" is pressed when "Choose Instruments" is selected.

• Jan 10, 2019 - 20:49
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.


Comments

Fix version
3.0.1