From 1f1acb29fc54fe2b0e5884050add542552d3238a Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sat, 14 Sep 2019 02:15:35 -0400 Subject: [PATCH] Only force show if not visible --- src/views/searchView.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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),