Permalink
Browse files

[WPF] Don't delete source on copy

  • Loading branch information...
ermau committed Apr 18, 2012
1 parent 01e033e commit 86c40943fdbcd891df020e086fac81cd1ccfeabe
Showing with 1 addition and 1 deletion.
  1. +1 −1 Xwt.WPF/Xwt.WPFBackend/WidgetBackend.cs
@@ -823,7 +823,7 @@ void WidgetDropHandler (object sender, System.Windows.DragEventArgs e)
eventSink.OnDragDrop (args);
});
- deleteSource = args.Success;
+ deleteSource = args.Success && !actualEffect.HasFlag (DragDropEffects.Copy);
e.Effects = args.Success ? actualEffect : DragDropEffects.None;
}

0 comments on commit 86c4094

Please sign in to comment.