activate node after calling "scroll to active note", fixes #1685

This commit is contained in:
zadam 2021-02-24 22:41:24 +01:00
parent 25c2db6c3a
commit d0eaf623a8

View file

@ -797,7 +797,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
const node = await this.expandToNote(activeContext.notePath);
await node.makeVisible({scrollIntoView: true});
node.setFocus(true);
node.setActive(true, {noEvents: true, noFocus: false});
}
}