only toggle LED on left click
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1330 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -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() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user