mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 01:32:34 -05:00
keep title up to date when connection changes (#15306)
This commit is contained in:
@@ -156,6 +156,10 @@ export abstract class QueryEditorInput extends EditorInput implements IConnectab
|
||||
}
|
||||
}));
|
||||
|
||||
this._register(this.connectionManagementService.onConnectionChanged(e => {
|
||||
this._onDidChangeLabel.fire();
|
||||
}));
|
||||
|
||||
this._register(this.configurationService.onDidChangeConfiguration(e => {
|
||||
if (e.affectedKeys.indexOf('queryEditor') > -1) {
|
||||
this._onDidChangeLabel.fire();
|
||||
|
||||
Reference in New Issue
Block a user