Fix text content in title (#9534)

* fix text content in title

* revert changes and change default setting instead
This commit is contained in:
Anthony Dresser
2020-03-11 12:38:26 -07:00
committed by GitHub
parent 37042a24bc
commit edd396f0fe
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();
}
}