enhance: clear selection after swap compare targets

This commit is contained in:
leo 2024-07-23 19:30:16 +08:00
parent 1583b08892
commit b160f4e47a
No known key found for this signature in database

View file

@ -101,6 +101,7 @@ namespace SourceGit.ViewModels
public void Swap()
{
(StartPoint, EndPoint) = (_endPoint, _startPoint);
SelectedChanges = [];
Task.Run(Refresh);
}