File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,12 @@ public bool IsSearchLoadingVisible
213213 public bool OnlySearchCommitsInCurrentBranch
214214 {
215215 get => _onlySearchCommitsInCurrentBranch ;
216- set => SetProperty ( ref _onlySearchCommitsInCurrentBranch , value ) ;
216+ set
217+ {
218+ if ( SetProperty ( ref _onlySearchCommitsInCurrentBranch , value ) &&
219+ ! string . IsNullOrEmpty ( _searchCommitFilter ) )
220+ StartSearchCommits ( ) ;
221+ }
217222 }
218223
219224 public int SearchCommitFilterType
@@ -222,7 +227,12 @@ public int SearchCommitFilterType
222227 set
223228 {
224229 if ( SetProperty ( ref _searchCommitFilterType , value ) )
230+ {
225231 UpdateCurrentRevisionFilesForSearchSuggestion ( ) ;
232+
233+ if ( ! string . IsNullOrEmpty ( _searchCommitFilter ) )
234+ StartSearchCommits ( ) ;
235+ }
226236 }
227237 }
228238
You can’t perform that action at this time.
0 commit comments