Skip to content

Commit 7499900

Browse files
committed
Change the default drag action to copy (shift+drag to move)
1 parent d0c281e commit 7499900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ private void ResultList_MouseMove(object sender, System.Windows.Input.MouseEvent
417417
string copyText = string.IsNullOrEmpty(result.Result.CopyText) ? result.Result.SubTitle : result.Result.CopyText;
418418
string[] files = { copyText };
419419
var data = new DataObject(System.Windows.DataFormats.FileDrop, files);
420-
DragDrop.DoDragDrop(this.ResultListBox, data, System.Windows.DragDropEffects.Copy | System.Windows.DragDropEffects.Move);
420+
DragDrop.DoDragDrop(this.ResultListBox, data, System.Windows.DragDropEffects.Move | System.Windows.DragDropEffects.Copy);
421421
e.Handled = true;
422422
}
423423
}

0 commit comments

Comments
 (0)