Create symbolic link when drag and dropping files from a virtual folder

... instead of making a copy like normal. This changes the default
behavior, you may override it by context-click dragging and selecting
Copy or holding the option key to force copy.

Implements #18729

Change-Id: Ib13bec347f300d25de77064ced79693ecbc3a85c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8144
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
John Scipione
2024-08-29 16:46:02 +00:00
committed by waddlesplash
parent 7616fbf28d
commit fc07afd4bc
+2
View File
@@ -5137,6 +5137,8 @@ BPoseView::MoveSelectionInto(Model* destFolder, BContainerWindow* srcWindow,
if (model != NULL)
srcList->AddItem(new entry_ref(*(model->EntryRef())));
}
if (!(forceCopy || forceMove || createRelativeLink))
createLink = true;
} else
CopySelectionListToEntryRefList(selectionList, srcList);