Skip to content

Removing a custom instrument while it still exists in the song causes problems #181

@Speeder323

Description

@Speeder323

Describe the bug
The program crashes if you try to select a custom instrument using the compatibility tab when the custom instrument was removed.

To Reproduce
Steps to reproduce the behavior:

  1. Create a custom instrument
  2. Place any amount of notes using that custom instrument
  3. Remove the custom instrument
  4. Go to the Minecraft Compatibility tab
  5. Click on "Select affected blocks" beneath "No custom instruments must be used." text, which should be red.
  6. Crash!

Expected behavior
When the custom instrument is removed, all notes associated with that instrument should be removed too.

Screenshots
fatal error

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: BugSomething isn't workingS: Resolved in next releaseThis bugfix or suggestion has been applied to the code

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions