events for updating title (no saving yet)

This commit is contained in:
zadam
2020-01-19 18:05:06 +01:00
parent 44dc3c28de
commit 8da094cd3c
12 changed files with 116 additions and 73 deletions

View File

@@ -447,4 +447,12 @@ export default class NoteTreeWidget extends TabAwareWidget {
}
}
}
noteTitleChangedListener({noteId}) {
for (const node of this.getNodesByNoteId(noteId)) {
console.log("Setting to", node);
treeService.setNodeTitleWithPrefix(node);
}
}
}