From 767d444609e54ebcb3134f3575c706ea2e40d244 Mon Sep 17 00:00:00 2001 From: Philippe Saint-Pierre Date: Fri, 5 Feb 2010 00:55:33 +0000 Subject: [PATCH] MediaPlayer Playlist: * Reset the DropIndex when the drag is exiting the window. * Otherwise, the anticipation rect isn't set back on when you enter again the window. Fixes ticket #3199. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35409 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mediaplayer/playlist/ListViews.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/mediaplayer/playlist/ListViews.cpp b/src/apps/mediaplayer/playlist/ListViews.cpp index a42851af8a..7d530d31ac 100644 --- a/src/apps/mediaplayer/playlist/ListViews.cpp +++ b/src/apps/mediaplayer/playlist/ListViews.cpp @@ -815,7 +815,7 @@ void DragSortableListView::_RemoveDropAnticipationRect() { _SetDropAnticipationRect(BRect(0.0, 0.0, -1.0, -1.0)); -// _SetDropIndex(-1); + _SetDropIndex(-1); } // _SetDragMessage