Commit 2def15a2 authored by Jekyll Wu's avatar Jekyll Wu
Browse files

Do not forward the button release event when Shift is also pressed.

BUG: 299437
FIXED-IN: 4.8.4
parent d87c4c98
......@@ -2167,8 +2167,9 @@ void TerminalDisplay::mouseReleaseEvent(QMouseEvent* ev)
}
if (!_mouseMarks &&
((ev->button() == Qt::RightButton && !(ev->modifiers() & Qt::ShiftModifier))
|| ev->button() == Qt::MidButton)) {
(ev->button() == Qt::RightButton || ev->button() == Qt::MidButton ) &&
!(ev->modifiers() & Qt::ShiftModifier) ) {
emit mouseSignal(3,
charColumn + 1,
charLine + 1 + _scrollBar->value() - _scrollBar->maximum() ,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment