mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01: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(); |         const activeContext = appContext.tabManager.getActiveTabContext(); | ||||||
|  |  | ||||||
|         if (activeContext && activeContext.notePath) { |         if (activeContext && activeContext.notePath) { | ||||||
|  |             this.tree.$container.focus(); | ||||||
|             this.tree.setFocus(true); |             this.tree.setFocus(true); | ||||||
|  |  | ||||||
|             const node = await this.expandToNote(activeContext.notePath); |             const node = await this.expandToNote(activeContext.notePath); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user