removed icon tooltip again

This commit is contained in:
zadam 2020-06-22 22:00:08 +02:00
parent e1c2573778
commit 959c4cbe64

View file

@ -553,8 +553,6 @@ export default class NoteTreeWidget extends TabAwareWidget {
key: utils.randomString(12) // this should prevent some "duplicate key" errors
};
node.iconTooltip = node.title;
if (node.folder && node.expanded) {
node.children = await this.prepareChildren(note);
}
@ -841,7 +839,6 @@ export default class NoteTreeWidget extends TabAwareWidget {
node.icon = this.getIcon(note, isFolder);
node.extraClasses = this.getExtraClasses(note);
node.title = (branch.prefix ? (branch.prefix + " - ") : "") + note.title;
node.iconTooltip = node.title;
if (node.isExpanded() !== branch.isExpanded) {
node.setExpanded(branch.isExpanded, {noEvents: true});