Skip to content

Commit

Permalink
rebased and only drag on left mouse button
Browse files Browse the repository at this point in the history
  • Loading branch information
m0dB authored and m0dB committed Mar 22, 2024
1 parent 8f933ab commit 438929f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/util/dnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ bool DragAndDropHelper::allowDeckCloneAttempt(

// static
void DragAndDropHelper::mousePressed(QMouseEvent* pEvent) {
mouseMoveInitiatesDragHelper(pEvent, true);
if (pEvent->button() == Qt::LeftButton) {
mouseMoveInitiatesDragHelper(pEvent, true);
}
}

// static
Expand Down

0 comments on commit 438929f

Please sign in to comment.