mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-23 01:36:57 -08:00
enhance: disable checkout branch
via double-clicking branch tree node (#899)
This commit is contained in:
parent
766b60d05e
commit
f2b1c06bb8
1 changed files with 3 additions and 0 deletions
|
@ -1062,6 +1062,9 @@ namespace SourceGit.ViewModels
|
|||
}
|
||||
}
|
||||
|
||||
if (IsBare)
|
||||
return;
|
||||
|
||||
if (!CanCreatePopup())
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue