Disallow part with no instrument

• Jun 13, 2011 - 00:48
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Using MuseScore 1.0:

1. Create score.
2. Create part with no instrument.
3. Save.

Using MuseScore 2.0 Nightly Build (4367):

1. Open that file (or this if you want to skip the first three steps).
2. Open Part.
3. Delete the part.

Result: Crash.

Mac 10.4.11.


Comments

There's tasks for both versions, really.

1.0 = Disallow so it doesn't happen in future (smoothing things out in the transition).
2.0 = Create a fix (wasn't sure because like some other bugs that cause crash in future version, 1.0 behaviour was wrong anyway - would be good though).

According to the branch log, you can no longer create an empty part - thanks for fixing Lasconic.

Should it be kept open to create a fix for 2.0 when importing scores with an empty part?

Title [Trunk] Disallow part with no instrument Disallow part with no instrument
Status (old) active fixed

I think I'll mark this as fixed, since I can't reproduce now.

Using MuseScore 2.0 Nightly Build (912c592) - Mac 10.7.4.