diff --git a/src/ViewModels/Clone.cs b/src/ViewModels/Clone.cs index c6f09d24..bc742b37 100644 --- a/src/ViewModels/Clone.cs +++ b/src/ViewModels/Clone.cs @@ -128,10 +128,7 @@ namespace SourceGit.ViewModels if (!Directory.Exists(path)) { - CallUIThread(() => - { - App.RaiseException(_pageId, $"Folder '{path}' can NOT be found"); - }); + App.RaiseException(_pageId, $"Folder '{path}' can NOT be found"); return false; } diff --git a/src/ViewModels/Repository.cs b/src/ViewModels/Repository.cs index 09e5a27f..4bf5f6f5 100644 --- a/src/ViewModels/Repository.cs +++ b/src/ViewModels/Repository.cs @@ -1587,13 +1587,9 @@ namespace SourceGit.ViewModels init.Click += (_, e) => { if (_currentBranch == null) - { App.RaiseException(_fullpath, "Git flow init failed: No branch found!!!"); - } else if (CanCreatePopup()) - { ShowPopup(new InitGitFlow(this)); - } e.Handled = true; };