From 74999006a5506676d0111caf8b0eeb83e294a542 Mon Sep 17 00:00:00 2001 From: DB p Date: Thu, 29 Sep 2022 18:04:15 +0900 Subject: [PATCH] Change the default drag action to copy (shift+drag to move) --- Flow.Launcher/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs index 6e1ff94b3..10fadd591 100644 --- a/Flow.Launcher/MainWindow.xaml.cs +++ b/Flow.Launcher/MainWindow.xaml.cs @@ -417,7 +417,7 @@ namespace Flow.Launcher string copyText = string.IsNullOrEmpty(result.Result.CopyText) ? result.Result.SubTitle : result.Result.CopyText; string[] files = { copyText }; var data = new DataObject(System.Windows.DataFormats.FileDrop, files); - DragDrop.DoDragDrop(this.ResultListBox, data, System.Windows.DragDropEffects.Copy | System.Windows.DragDropEffects.Move); + DragDrop.DoDragDrop(this.ResultListBox, data, System.Windows.DragDropEffects.Move | System.Windows.DragDropEffects.Copy); e.Handled = true; } }