mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-17 00:14:59 +00:00
feature: support delete key everywhere (#1412)
This commit is contained in:
parent
5494093261
commit
196b454ae8
11 changed files with 127 additions and 11 deletions
|
@ -1359,6 +1359,18 @@ namespace SourceGit.ViewModels
|
|||
}
|
||||
}
|
||||
|
||||
public void DeleteBranch(Models.Branch branch)
|
||||
{
|
||||
if (CanCreatePopup())
|
||||
ShowPopup(new DeleteBranch(this, branch));
|
||||
}
|
||||
|
||||
public void DeleteRemote(Models.Remote remote)
|
||||
{
|
||||
if (CanCreatePopup())
|
||||
ShowPopup(new DeleteRemote(this, remote));
|
||||
}
|
||||
|
||||
public void DeleteMultipleBranches(List<Models.Branch> branches, bool isLocal)
|
||||
{
|
||||
if (CanCreatePopup())
|
||||
|
@ -1383,6 +1395,12 @@ namespace SourceGit.ViewModels
|
|||
ShowPopup(new CreateTag(this, _currentBranch));
|
||||
}
|
||||
|
||||
public void DeleteTag(Models.Tag tag)
|
||||
{
|
||||
if (CanCreatePopup())
|
||||
ShowPopup(new DeleteTag(this, tag));
|
||||
}
|
||||
|
||||
public void AddRemote()
|
||||
{
|
||||
if (CanCreatePopup())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue