Skip to content

Commit 2fc0302

Browse files
committed
fix: file suggestion popup did not show while searching commit by file path
Signed-off-by: leo <[email protected]>
1 parent 4714526 commit 2fc0302

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ViewModels/Repository.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ public string SearchCommitFilter
321321
set
322322
{
323323
if (SetProperty(ref _searchCommitFilter, value) &&
324-
_searchCommitFilterType == 3 &&
324+
_searchCommitFilterType == 4 &&
325325
!string.IsNullOrEmpty(value) &&
326326
value.Length >= 2 &&
327327
_revisionFiles.Count > 0)
@@ -2395,14 +2395,14 @@ private void UpdateCurrentRevisionFilesForSearchSuggestion()
23952395
{
23962396
_revisionFiles.Clear();
23972397

2398-
if (_searchCommitFilterType == 3)
2398+
if (_searchCommitFilterType == 4)
23992399
{
24002400
Task.Run(() =>
24012401
{
24022402
var files = new Commands.QueryRevisionFileNames(_fullpath, "HEAD").Result();
24032403
Dispatcher.UIThread.Invoke(() =>
24042404
{
2405-
if (_searchCommitFilterType != 3)
2405+
if (_searchCommitFilterType != 4)
24062406
return;
24072407

24082408
_revisionFiles.AddRange(files);

0 commit comments

Comments
 (0)