enhance: add a button to clear all git command logs

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-17 16:07:40 +08:00
parent c1e31ac4e3
commit 021aab8408
No known key found for this signature in database
6 changed files with 22 additions and 5 deletions

View file

@ -21,6 +21,12 @@ namespace SourceGit.ViewModels
_repo = repo;
}
public void ClearAll()
{
SelectedLog = null;
Logs.Clear();
}
private Repository _repo = null;
private CommandLog _selectedLog = null;
}