Browse Source

Fixes issue when comparing before the view is visible wouldn't expand

main
Eric Amodio 6 years ago
parent
commit
f9ae631d81
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/views/compareView.ts

+ 4
- 0
src/views/compareView.ts View File

@ -112,6 +112,10 @@ export class CompareView extends ViewBase {
}
private async addResults(results: ViewNode) {
if (!this.visible) {
void (await this.show());
}
const root = this.ensureRoot();
root.addOrReplace(results, !this.keepResults);

Loading…
Cancel
Save