Browse Source

Fixes refresh issue on config change

main
Eric Amodio 6 years ago
parent
commit
e6f2ef15a6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/views/historyExplorer.ts

+ 1
- 1
src/views/historyExplorer.ts View File

@ -114,7 +114,7 @@ export class HistoryExplorer extends Disposable implements TreeDataProvider
this._disposable = this._tree; this._disposable = this._tree;
} }
if (!initializing && this._root === undefined) {
if (!initializing && this._root !== undefined) {
this.refresh(RefreshReason.ConfigurationChanged); this.refresh(RefreshReason.ConfigurationChanged);
} }
} }

Loading…
Cancel
Save