mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
enhance: clear selection after swap compare targets
This commit is contained in:
parent
1583b08892
commit
b160f4e47a
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ namespace SourceGit.ViewModels
|
||||||
public void Swap()
|
public void Swap()
|
||||||
{
|
{
|
||||||
(StartPoint, EndPoint) = (_endPoint, _startPoint);
|
(StartPoint, EndPoint) = (_endPoint, _startPoint);
|
||||||
|
SelectedChanges = [];
|
||||||
Task.Run(Refresh);
|
Task.Run(Refresh);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue