added context menu "recent changes in subtree"

This commit is contained in:
zadam
2020-03-29 19:43:04 +02:00
parent cc298b1e7a
commit 189202b1f6
3 changed files with 14 additions and 3 deletions

View File

@@ -737,6 +737,12 @@ export default class NoteTreeWidget extends TabAwareWidget {
treeService.sortAlphabetically(node.data.noteId);
}
async recentChangesInSubtreeCommand({node}) {
const recentChangesDialog = await import('../dialogs/recent_changes.js');
recentChangesDialog.showDialog(node.data.noteId);
}
selectAllNotesInParentCommand({node}) {
for (const child of node.getParent().getChildren()) {
child.setSelected(true);