Tracker: Don't change selection if right-click
... inside a selection. If you click outside a selection extend the selection to include the new items as Tracker normally would and then pop up the dialogs. Works with control-click as well, same utility function used. Fixes #10449
This commit is contained in:
parent
80f4300a72
commit
9bd08d10ab
@ -7243,7 +7243,8 @@ BPoseView::MouseDown(BPoint where)
|
||||
int32 index;
|
||||
BPose* pose = FindPose(where, &index);
|
||||
if (pose != NULL) {
|
||||
AddRemoveSelectionRange(where, extendSelection, pose);
|
||||
if (!pose->IsSelected() || !secondaryMouseButtonDown)
|
||||
AddRemoveSelectionRange(where, extendSelection, pose);
|
||||
|
||||
if (fTextWidgetToCheck != NULL
|
||||
&& (pose != fLastClickedPose || secondaryMouseButtonDown)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user