mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 19:55:00 +00:00
code_review: PR #98
* remove the `Leave` option (it may lead to an undefined behaviour), so user can only choose `Stash & reapply` or `Discard`. * re-design the UI * remove unused resources
This commit is contained in:
parent
927a1cab24
commit
776605cb68
7 changed files with 75 additions and 89 deletions
|
@ -298,7 +298,7 @@ namespace SourceGit.Views
|
|||
if (branch.IsCurrent)
|
||||
return;
|
||||
|
||||
ViewModels.Checkout.ShowPopup(repo, branch.Name);
|
||||
repo.CheckoutLocalBranch(branch.Name);
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue