Reset the cursor check state if we drag over a pose that's not a suitable DnD destination for the drag. Otherwise we'll reset the cursor back to the move state and never set to copy again unless we exit/reenter the window. Thanks to luroh for reporting.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29167 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2009-02-08 18:39:39 +00:00
parent 2d871992b8
commit a67852c554

View File

@ -8704,6 +8704,7 @@ BPoseView::UpdateDropTarget(BPoint mouseLoc, const BMessage *dragMessage,
// new target is valid, select it
HiliteDropTarget(true);
} else {
fCursorCheck = false;
fDropTarget = NULL;
if (targetPose == NULL)
targetModel = TargetModel();