From d070cb697b44af073c10e5edf36fd26d86c22254 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Fri, 18 Jul 2008 13:00:30 +0000 Subject: [PATCH] only toggle LED on left click git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1330 0778d3d1-df1d-0410-868b-ea421aaaa00d --- src/gui/widgets/group_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widgets/group_box.cpp b/src/gui/widgets/group_box.cpp index b7b1a2a86..a98dbeada 100644 --- a/src/gui/widgets/group_box.cpp +++ b/src/gui/widgets/group_box.cpp @@ -89,7 +89,7 @@ void groupBox::modelChanged( void ) void groupBox::mousePressEvent( QMouseEvent * _me ) { - if( _me->y() > 1 && _me->y() < 13 ) + if( _me->y() > 1 && _me->y() < 13 && _me->button() == Qt::LeftButton ) { model()->setValue( !model()->value() ); }