From d66d5870fd65b5fb2c43027e9e83ea2ac3b81444 Mon Sep 17 00:00:00 2001 From: Vesa Date: Sat, 3 May 2014 23:52:24 +0300 Subject: [PATCH] PianoRoll: allow shift-right-click in addition to middle-click in vol/pan bars --- src/gui/PianoRoll.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/PianoRoll.cpp b/src/gui/PianoRoll.cpp index bfe20c867..b89799690 100644 --- a/src/gui/PianoRoll.cpp +++ b/src/gui/PianoRoll.cpp @@ -2247,7 +2247,8 @@ void PianoRoll::mouseMoveEvent( QMouseEvent * _me ) } } else if( ( edit_note == true || m_action == ActionChangeNoteProperty ) && - ( _me->buttons() & Qt::LeftButton || _me->buttons() & Qt::MiddleButton ) ) + ( _me->buttons() & Qt::LeftButton || _me->buttons() & Qt::MiddleButton + || ( _me->buttons() & Qt::RightButton && _me->modifiers() & Qt::ShiftModifier ) ) ) { // editing note properties