mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
fixes in closing tabs and elsewhere
This commit is contained in:
@@ -102,7 +102,7 @@ class TreeContextMenu {
|
||||
const notePath = await treeService.getNotePath(this.node);
|
||||
|
||||
if (cmd === 'openInTab') {
|
||||
const tabContext = appContext.openEmptyTab();
|
||||
const tabContext = appContext.tabManager.openEmptyTab();
|
||||
appContext.tabManager.activateTab(tabContext.tabId);
|
||||
tabContext.setNote(notePath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user