diff --git a/src/vs/workbench/api/node/extHostQuickOpen.ts b/src/vs/workbench/api/node/extHostQuickOpen.ts index 6f50d14ca980de23fe7ca2c2be7bfe788e92d3e9..43c5f7841781e37bcde410c147ce967930987933 100644 --- a/src/vs/workbench/api/node/extHostQuickOpen.ts +++ b/src/vs/workbench/api/node/extHostQuickOpen.ts @@ -396,17 +396,13 @@ class ExtHostQuickInput implements QuickInput { this._pendingUpdate[key] = value === undefined ? null : value; } - if (!this._visible) { - return; - } - if ('visible' in this._pendingUpdate) { if (this._updateTimeout) { clearTimeout(this._updateTimeout); this._updateTimeout = undefined; } this.dispatchUpdate(); - } else if (!this._updateTimeout) { + } else if (this._visible && !this._updateTimeout) { // Defer the update so that multiple changes to setters dont cause a redraw each this._updateTimeout = setTimeout(() => { this._updateTimeout = undefined;