fix(dtmm): Fix deleting mods

This commit is contained in:
Lucas Schwiderski 2023-02-25 17:29:25 +01:00
parent 8e9f26ed0c
commit 86c4c200ff
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8

View file

@ -367,7 +367,7 @@ impl AppDelegate<State> 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