Skip to content

Commit

Permalink
Fix recursive webview-view title setter (eclipse-theia#12221)
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew authored and CareyJWilliams committed Jun 22, 2023
1 parent fe9a24a commit 06a6bf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-ext/src/plugin/webview-views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 06a6bf9

Please sign in to comment.