Merge pull request #1699 from curlymorphic/bbundo
Song Editor and bbEditor undo.
This commit is contained in:
@@ -1439,6 +1439,7 @@ void TrackContentWidget::mousePressEvent( QMouseEvent * _me )
|
||||
else if( _me->button() == Qt::LeftButton &&
|
||||
!m_trackView->trackContainerView()->fixedTCOs() )
|
||||
{
|
||||
getTrack()->addJournalCheckPoint();
|
||||
const MidiTime pos = getPosition( _me->x() ).getTact() *
|
||||
MidiTime::ticksPerTact();
|
||||
TrackContentObject * tco = getTrack()->createTCO( pos );
|
||||
|
||||
@@ -838,6 +838,7 @@ void PatternView::mousePressEvent( QMouseEvent * _me )
|
||||
}
|
||||
else // note at step found
|
||||
{
|
||||
m_pat->addJournalCheckPoint();
|
||||
if( n->length() < 0 )
|
||||
{
|
||||
n->setLength( 0 ); // set note as enabled beat note
|
||||
|
||||
Reference in New Issue
Block a user