From a8ca837ca5e26f8b8418618de3ee6bca64d5c7de Mon Sep 17 00:00:00 2001 From: Eugene Date: Fri, 11 Sep 2026 22:42:35 +0200 Subject: [PATCH] title fix --- tabby-core/src/services/app.service.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tabby-core/src/services/app.service.ts b/tabby-core/src/services/app.service.ts index 356e0a56a..618398cfa 100644 --- a/tabby-core/src/services/app.service.ts +++ b/tabby-core/src/services/app.service.ts @@ -238,9 +238,8 @@ export class AppService { this._activeTab?.emitFocused() this._activeTab?.emitVisibility(true) }) - if (this._activeTab) { - this.hostWindow.setTitle(this._activeTab.customTitle || this._activeTab.title) - } + const active = this._activeTab + this.hostWindow.setTitle(active ? active.customTitle || active.title : undefined) } getParentTab (tab: BaseTabComponent): SplitTabComponent|null {