Fix text content in title (#9534) (#9552)

* fix text content in title

* revert changes and change default setting instead
This commit is contained in:
Anthony Dresser
2020-03-11 14:48:26 -07:00
committed by GitHub
parent 29031462c7
commit 32ea281e11
2 changed files with 3 additions and 3 deletions

View File

@@ -209,9 +209,9 @@ export abstract class QueryEditorInput extends EditorInput implements IConnectab
} else {
title += localize('disconnected', "disconnected");
}
return this._text.getName() + (longForm ? (' - ' + title) : ` - ${trimTitle(title)}`);
return this.text.getName() + (longForm ? (' - ' + title) : ` - ${trimTitle(title)}`);
} else {
return this._text.getName();
return this.text.getName();
}
}