resort relationships in tree cache after note reordering

This commit is contained in:
zadam
2020-09-14 22:48:20 +02:00
parent f5f48ef6c4
commit 85d13b1d62
5 changed files with 65 additions and 34 deletions

View File

@@ -1066,6 +1066,9 @@ export default class NoteTreeWidget extends TabAwareWidget {
parentNode.addChildren([this.prepareNode(branch, true)]);
this.sortChildren(parentNode);
// this might be a first child which would force an icon change
noteIdsToUpdate.add(branch.parentNoteId);
}
}
}