From c68f31aeda711d3b008d01822cb788dca9b35e2e Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Fri, 21 Aug 2015 21:23:03 -0400 Subject: [PATCH] Add horizontal scroll support to SongEditor Closes #2275 --- src/gui/editors/SongEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/editors/SongEditor.cpp b/src/gui/editors/SongEditor.cpp index 57199aa1b..f4616c47e 100644 --- a/src/gui/editors/SongEditor.cpp +++ b/src/gui/editors/SongEditor.cpp @@ -382,7 +382,7 @@ void SongEditor::wheelEvent( QWheelEvent * _we ) // and make sure, all TCO's are resized and relocated realignTracks(); } - else if( gui->mainWindow()->isShiftPressed() == true ) + else if( gui->mainWindow()->isShiftPressed() == true || _we->orientation() == Qt::Horizontal ) { m_leftRightScroll->setValue( m_leftRightScroll->value() - _we->delta() / 30 );