summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--systems/sheet/src/sheet.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/systems/sheet/src/sheet.rs b/systems/sheet/src/sheet.rs
index 44c2878..e0275cb 100644
--- a/systems/sheet/src/sheet.rs
+++ b/systems/sheet/src/sheet.rs
@@ -425,6 +425,8 @@ impl Sheet {
let val_b = b.value().clone();
a.set_value(val_b);
b.set_value(val_a);
+ self.data.mappings.insert(a);
+ self.data.mappings.insert(b);
}
SheetEditItem::EraseMapping { node } => {
if !self.data.mappings.remove(&node) {