mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-31 09:35:39 -05:00
This reverts commit d15a3fcc98.
This commit is contained in:
@@ -87,7 +87,7 @@ export class SqlFlavorStatusbarItem implements IStatusbarItem {
|
||||
this._editorService.onDidVisibleEditorsChange(() => this._onEditorsChanged()),
|
||||
this._editorService.onDidCloseEditor(event => this._onEditorClosed(event))
|
||||
);
|
||||
return combinedDisposable(...this._toDispose);
|
||||
return combinedDisposable(this._toDispose);
|
||||
}
|
||||
|
||||
private _onSelectionClick() {
|
||||
|
||||
@@ -156,7 +156,7 @@ export class QueryEditor extends BaseEditor {
|
||||
|
||||
this.setTaskbarContent();
|
||||
|
||||
this._register(this.configurationService.onDidChangeConfiguration(e => {
|
||||
this._toDispose.push(this.configurationService.onDidChangeConfiguration(e => {
|
||||
if (e.affectedKeys.includes('workbench.enablePreviewFeatures')) {
|
||||
this.setTaskbarContent();
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ export class QueryStatusbarItem implements IStatusbarItem {
|
||||
this._editorService.onDidCloseEditor(event => this._onEditorClosed(event))
|
||||
);
|
||||
|
||||
return combinedDisposable(...this._toDispose);
|
||||
return combinedDisposable(this._toDispose);
|
||||
}
|
||||
|
||||
private _onEditorClosed(event: IEditorCloseEvent): void {
|
||||
|
||||
@@ -40,7 +40,7 @@ export class RowCountStatusBarItem implements IStatusbarItem {
|
||||
|
||||
this._showStatus();
|
||||
|
||||
return combinedDisposable(...disposables);
|
||||
return combinedDisposable(disposables);
|
||||
}
|
||||
|
||||
private _onEditorsChanged() {
|
||||
|
||||
@@ -43,7 +43,7 @@ export class TimeElapsedStatusBarItem implements IStatusbarItem {
|
||||
|
||||
this._showStatus();
|
||||
|
||||
return combinedDisposable(...disposables);
|
||||
return combinedDisposable(disposables);
|
||||
}
|
||||
|
||||
private _onEditorsChanged() {
|
||||
|
||||
Reference in New Issue
Block a user