diff --git a/src/Views/Popups/Stash.xaml.cs b/src/Views/Popups/Stash.xaml.cs index 0a48044e..17d7b649 100644 --- a/src/Views/Popups/Stash.xaml.cs +++ b/src/Views/Popups/Stash.xaml.cs @@ -44,7 +44,7 @@ namespace SourceGit.Views.Popups { } } - new Commands.Stash(repo).Push(changes, message); + if (jobs.Count > 0) new Commands.Stash(repo).Push(changes, message); Models.Watcher.SetEnabled(repo, true); return true; });