* by popular request, you have to hold shift down in the playlist window
when you want to replace the playlist by the stuff you are dragging, the default behaviour is now to insert/append it to the existing items git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21309 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -556,7 +556,10 @@ DragSortableListView::SetDropTargetRect(const BMessage* message, BPoint where)
|
||||
{
|
||||
if (AcceptDragMessage(message)) {
|
||||
bool copy = modifiers() & B_SHIFT_KEY;
|
||||
bool replaceAll = !message->HasPointer("list") && !copy;
|
||||
bool replaceAll = !message->HasPointer("list") && copy;
|
||||
// when dragging something in from ie Tracker, the
|
||||
// user has to hold shift down to replace everything
|
||||
// (opposite meaning of the normal shift behaviour)
|
||||
BRect r = Bounds();
|
||||
if (replaceAll) {
|
||||
r.bottom--; // compensate for scrollbar offset
|
||||
|
||||
Reference in New Issue
Block a user