diff --git a/src/tasks.rs b/src/tasks.rs index 4cbdd9e..d1cf1a8 100644 --- a/src/tasks.rs +++ b/src/tasks.rs @@ -508,7 +508,8 @@ impl Tasks { match self.position { None => warn!("Cannot add note '{}' without active task", note), Some(id) => { - self.submit(EventBuilder::text_note(note, vec![])); + let prop = self.build_prop(Kind::TextNote, note, id); + self.submit(prop); } } }