diff --git a/bzGraflow.js b/bzGraflow.js index 65a593c..189251c 100644 --- a/bzGraflow.js +++ b/bzGraflow.js @@ -1315,6 +1315,7 @@ class EditWires{ if((e.key == 'Delete') && this.currentlySelectedWire) { this.graflow.flow.links = this.graflow.flow.links.filter(link => link.id != this.currentlySelectedWire.dataset.id) this.graflow.stagedWires[this.currentlySelectedWire.dataset.id].remove() + delete(this.graflow.stagedWires[this.currentlySelectedWire.dataset.id]) this.currentlySelectedWire.remove() this.currentlySelectedWire = null return