From 861cd0c84bbadd757df60898f0a40465db6ff4f2 Mon Sep 17 00:00:00 2001 From: Mark Sujew Date: Mon, 27 Feb 2023 15:53:24 +0100 Subject: [PATCH] Fix recursive webview-view title setter (#12221) --- packages/plugin-ext/src/plugin/webview-views.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugin-ext/src/plugin/webview-views.ts b/packages/plugin-ext/src/plugin/webview-views.ts index 5a3dd883b454e..ffcb4f7f61240 100644 --- a/packages/plugin-ext/src/plugin/webview-views.ts +++ b/packages/plugin-ext/src/plugin/webview-views.ts @@ -167,8 +167,8 @@ export class WebviewViewExtImpl implements theia.WebviewView { set title(value: string | undefined) { this.assertNotDisposed(); - if (this.title !== value) { - this.title = value; + if (this._title !== value) { + this._title = value; this.proxy.$setWebviewViewTitle(this.handle, value); } }