mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-02 19:09:55 -06:00
fix focusing tree from note detail, closes #1897
This commit is contained in:
@@ -813,6 +813,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
const activeContext = appContext.tabManager.getActiveTabContext();
|
||||
|
||||
if (activeContext && activeContext.notePath) {
|
||||
this.tree.$container.focus();
|
||||
this.tree.setFocus(true);
|
||||
|
||||
const node = await this.expandToNote(activeContext.notePath);
|
||||
|
||||
Reference in New Issue
Block a user