From 86c4c200ff161f0d97356396b97130669c82e01f Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Sat, 25 Feb 2023 17:29:25 +0100 Subject: [PATCH] fix(dtmm): Fix deleting mods --- crates/dtmm/src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/dtmm/src/state.rs b/crates/dtmm/src/state.rs index e320b0e..d42d9ac 100644 --- a/crates/dtmm/src/state.rs +++ b/crates/dtmm/src/state.rs @@ -367,7 +367,7 @@ impl AppDelegate for Delegate { } cmd if cmd.is(ACTION_START_DELETE_SELECTED_MOD) => { let info = cmd - .get(ACTION_FINISH_DELETE_SELECTED_MOD) + .get(ACTION_START_DELETE_SELECTED_MOD) .and_then(|info| info.take()) .expect("command type matched but didn't contain the expected value"); if self