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 federicobozzini committed Jun 13, 2023
1 parent dd50271 commit 861cd0c
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 861cd0c

Please sign in to comment.