diff --git a/src/Views/Widgets/Welcome.xaml.cs b/src/Views/Widgets/Welcome.xaml.cs index 2dd8edb1..4451858f 100644 --- a/src/Views/Widgets/Welcome.xaml.cs +++ b/src/Views/Widgets/Welcome.xaml.cs @@ -194,6 +194,8 @@ namespace SourceGit.Views.Widgets { var item = tree.FindItem(e.OriginalSource as DependencyObject); if (item == null) return; + tree.UnselectAll(); + var adorner = new Controls.DragDropAdorner(item); DragDrop.DoDragDrop(item, item.DataContext, DragDropEffects.Move); adorner.Remove();