Browse Source

Only force show if not visible

main
Eric Amodio 5 years ago
parent
commit
1f1acb29fc
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/views/searchView.ts

+ 3
- 1
src/views/searchView.ts View File

@ -120,7 +120,9 @@ export class SearchView extends ViewBase {
},
results?: Promise<GitLog | undefined> | GitLog
) {
await this.show();
if (!this.visible) {
await this.show();
}
const searchQueryFn = this.getSearchQueryFn(
results || Container.git.getLogForSearch(repoPath, search, options),

Loading…
Cancel
Save