mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 22:01:10 +08:00
enhance: add a button to clear all git command logs
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -21,6 +21,12 @@ namespace SourceGit.ViewModels
|
||||
_repo = repo;
|
||||
}
|
||||
|
||||
public void ClearAll()
|
||||
{
|
||||
SelectedLog = null;
|
||||
Logs.Clear();
|
||||
}
|
||||
|
||||
private Repository _repo = null;
|
||||
private CommandLog _selectedLog = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user