mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 12:44:23 -04:00
Do not forward the button release event when Shift is also pressed.
BUG: 299437 FIXED-IN: 4.8.4
This commit is contained in:
@@ -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() ,
|
||||
|
||||
Reference in New Issue
Block a user