mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Change the default drag action to copy (shift+drag to move)
This commit is contained in:
parent
d0c281ef35
commit
74999006a5
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue