mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 21:52:24 +00:00
Enable live update of exclude settings
This commit is contained in:
parent
30b1a27aae
commit
5106fb50b6
1 changed files with 3 additions and 1 deletions
|
@ -741,7 +741,9 @@ export class SettingsEditor2 extends BaseEditor {
|
|||
// If a single setting is being refreshed, it's ok to refresh now if that is not the focused setting
|
||||
if (key) {
|
||||
const focusedKey = focusedSetting.getAttribute(SettingsRenderer.SETTING_KEY_ATTR);
|
||||
if (focusedKey === key) {
|
||||
if (focusedKey === key &&
|
||||
!DOM.hasClass(focusedSetting, 'setting-item-exclude')) { // update `exclude`s live, as they have a separate "submit edit" step built in before this
|
||||
|
||||
this.updateModifiedLabelForKey(key);
|
||||
this.scheduleRefresh(focusedSetting, key);
|
||||
return TPromise.wrap(null);
|
||||
|
|
Loading…
Reference in a new issue