From 7d7550a04b4392a7954eecbd00e13c2d8568de63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sun, 3 Jun 2007 20:18:55 +0000 Subject: [PATCH] * 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 --- src/apps/mediaplayer/ListViews.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/apps/mediaplayer/ListViews.cpp b/src/apps/mediaplayer/ListViews.cpp index 882da4245c..5c86c699ca 100644 --- a/src/apps/mediaplayer/ListViews.cpp +++ b/src/apps/mediaplayer/ListViews.cpp @@ -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