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:
Tobias Doerffel
2008-07-18 13:00:30 +00:00
parent d13ac2a54a
commit d070cb697b

View File

@@ -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() );
}