mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
enhance: add a button to clear all git command logs
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
c1e31ac4e3
commit
021aab8408
6 changed files with 22 additions and 5 deletions
|
@ -21,6 +21,12 @@ namespace SourceGit.ViewModels
|
|||
_repo = repo;
|
||||
}
|
||||
|
||||
public void ClearAll()
|
||||
{
|
||||
SelectedLog = null;
|
||||
Logs.Clear();
|
||||
}
|
||||
|
||||
private Repository _repo = null;
|
||||
private CommandLog _selectedLog = null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue