When deleting a variable with one or more references in the workspace from the dropdown/contextual menu of the variable blocks in a non-autoclosing flyout, the number of references in the prompt confirming the deletion was off by one. This PR fixes this by not including the block triggering the deletion (in the flyout) in the reference count.
The basics
The details
When deleting a variable with one or more references in the workspace from the dropdown/contextual menu of the variable blocks in a non-autoclosing flyout, the number of references in the prompt confirming the deletion was off by one. This PR fixes this by not including the block triggering the deletion (in the flyout) in the reference count.