diff --git a/src/views/searchView.ts b/src/views/searchView.ts index 96c4f25..7fc4995 100644 --- a/src/views/searchView.ts +++ b/src/views/searchView.ts @@ -120,7 +120,9 @@ export class SearchView extends ViewBase { }, results?: Promise | GitLog ) { - await this.show(); + if (!this.visible) { + await this.show(); + } const searchQueryFn = this.getSearchQueryFn( results || Container.git.getLogForSearch(repoPath, search, options),