Commit efae7d95 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 3ffd5f89
......@@ -2236,10 +2236,10 @@ void TerminalDisplay::mouseReleaseEvent(QMouseEvent* ev)
}
if ( !_mouseMarks &&
((ev->button() == Qt::RightButton && !(ev->modifiers() & Qt::ShiftModifier))
|| ev->button() == Qt::MidButton) )
{
if (!_mouseMarks &&
(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