mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
moved tab related stuff to tab manager from app context
This commit is contained in:
@@ -103,7 +103,7 @@ class TreeContextMenu {
|
||||
|
||||
if (cmd === 'openInTab') {
|
||||
const tabContext = appContext.openEmptyTab();
|
||||
appContext.activateTab(tabContext.tabId);
|
||||
appContext.tabManager.activateTab(tabContext.tabId);
|
||||
tabContext.setNote(notePath);
|
||||
}
|
||||
else if (cmd.startsWith("insertNoteAfter")) {
|
||||
|
||||
Reference in New Issue
Block a user