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:
@@ -8704,6 +8704,7 @@ BPoseView::UpdateDropTarget(BPoint mouseLoc, const BMessage *dragMessage,
|
|||||||
// new target is valid, select it
|
// new target is valid, select it
|
||||||
HiliteDropTarget(true);
|
HiliteDropTarget(true);
|
||||||
} else {
|
} else {
|
||||||
|
fCursorCheck = false;
|
||||||
fDropTarget = NULL;
|
fDropTarget = NULL;
|
||||||
if (targetPose == NULL)
|
if (targetPose == NULL)
|
||||||
targetModel = TargetModel();
|
targetModel = TargetModel();
|
||||||
|
|||||||
Reference in New Issue
Block a user