mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-06 04:50:03 -06: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