Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[WPF] Don't delete source on copy

  • Loading branch information...
commit 86c40943fdbcd891df020e086fac81cd1ccfeabe 1 parent 01e033e
@ermau ermau authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Xwt.WPF/Xwt.WPFBackend/WidgetBackend.cs
View
2  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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.