diff --git a/emain/emain-window.ts b/emain/emain-window.ts index 3e0b2e6c9..5a9d5f81c 100644 --- a/emain/emain-window.ts +++ b/emain/emain-window.ts @@ -292,6 +292,9 @@ export class WaveBrowserWindow extends BaseWindow { async setActiveTab(tabId: string, setInBackend: boolean) { console.log("setActiveTab", tabId, this.waveWindowId, this.workspaceId, setInBackend); + if (this.activeTabView?.waveTabId == tabId) { + return; + } if (setInBackend) { await WorkspaceService.SetActiveTab(this.workspaceId, tabId); }