diff --git a/src/ViewModels/Pull.cs b/src/ViewModels/Pull.cs index fdaad920..b5c038ae 100644 --- a/src/ViewModels/Pull.cs +++ b/src/ViewModels/Pull.cs @@ -149,7 +149,10 @@ namespace SourceGit.ViewModels SetProgressDescription($"Fetching remote: {_selectedRemote.Name}..."); rs = new Commands.Fetch(_repo.FullPath, _selectedRemote.Name, NoTags, SetProgressDescription).Exec(); if (!rs) + { + CallUIThread(() => _repo.SetWatcherEnabled(true)); return false; + } _repo.MarkFetched(); diff --git a/src/Views/WorkingCopy.axaml b/src/Views/WorkingCopy.axaml index dae1f886..2e07d970 100644 --- a/src/Views/WorkingCopy.axaml +++ b/src/Views/WorkingCopy.axaml @@ -80,6 +80,15 @@ ChangeDoubleTapped="OnUnstagedChangeDoubleTapped" KeyDown="OnUnstagedKeyDown"/> + + + +