fix: Add missing task_edit block 🐛

This commit is contained in:
Dheepak Krishnamurthy 2021-10-27 13:16:14 -06:00
parent 307b35e082
commit aaf33bb609

View file

@ -2405,6 +2405,14 @@ impl TaskwarriorTui {
self.error = e;
}
}
} else if input == self.keyconfig.edit {
match self.task_edit() {
Ok(_) => self.update(true)?,
Err(e) => {
self.mode = Mode::Tasks(Action::Error);
self.error = e;
}
}
} else if input == self.keyconfig.undo {
match self.task_undo() {
Ok(_) => self.update(true)?,