File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
GitContentSearch.UI/ViewModels Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -476,8 +476,7 @@ await Avalonia.Threading.Dispatcher.UIThread.InvokeAsync(() =>
476476 IsLocating = false ;
477477 IsSearching = false ;
478478 IsProcessingCommand = false ; // Always reset in finally block
479- // Reset IsLocateOperation when the operation is complete
480- IsLocateOperation = false ;
479+ // Keep IsLocateOperation true until a new operation starts
481480 } ) ;
482481
483482 _cancellationTokenSource ? . Dispose ( ) ;
@@ -503,7 +502,7 @@ private void StartSearch()
503502 IsSearching = true ;
504503 IsLocating = false ; // Ensure IsLocating is reset when starting a search
505504 IsProcessingCommand = true ; // Set to true when starting a command
506- IsLocateOperation = false ; // Reset the locate operation state when starting a search
505+ IsLocateOperation = false ; // Reset the locate operation state when starting a new search
507506 ShowProgress = true ;
508507 SearchProgress = 0 ;
509508 LogOutput . Clear ( ) ;
You can’t perform that action at this time.
0 commit comments