Skip to content

Blocks are not correctly deleted when a variable is deleted #43

@anmartan

Description

@anmartan

There is a problem when the user sets the blocks like this:
image

And later on they choose to delete the variable (not the variables_set block, but the variable itself), using the delete variable option from the variables_set block (like below):
image

The variables_set is removed and the rest of the blocks still exist, which would seem like a normal behavior:
image

But, if the user then tries to move the math block, these exceptions appear:
image

This block can no longer be erased or connected to other blocks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions