Removed Double click to open piano roll, in the BBeditor, this is to stop notes being added in error

This commit is contained in:
Dave French
2015-02-24 22:08:46 +00:00
parent a4967700fd
commit 448f5be350
2 changed files with 0 additions and 21 deletions

View File

@@ -179,7 +179,6 @@ protected slots:
protected:
virtual void constructContextMenu( QMenu * );
virtual void mouseDoubleClickEvent( QMouseEvent * _me );
virtual void mousePressEvent( QMouseEvent * _me );
virtual void paintEvent( QPaintEvent * _pe );
virtual void resizeEvent( QResizeEvent * _re )

View File

@@ -776,26 +776,6 @@ void PatternView::constructContextMenu( QMenu * _cm )
void PatternView::mouseDoubleClickEvent( QMouseEvent * _me )
{
if( _me->button() != Qt::LeftButton )
{
_me->ignore();
return;
}
if( m_pat->type() == Pattern::MelodyPattern ||
!( m_pat->type() == Pattern::BeatPattern &&
( pixelsPerTact() >= 192 ||
m_pat->m_steps != MidiTime::stepsPerTact() ) &&
_me->y() > height() - s_stepBtnOff->height() ) )
{
openInPianoRoll();
}
}
void PatternView::mousePressEvent( QMouseEvent * _me )
{
if( _me->button() == Qt::LeftButton &&