mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
style<Welcome>: unselect all when dragdrop tree node
This commit is contained in:
parent
d6d4482a4e
commit
acec7e857b
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue