mirror of
https://github.com/LMMS/lmms.git
synced 2026-04-03 05:44:38 -04:00
TrackContainerView: disable undo/redo for track creation/removal
Due to the complex implementation of BB tracks it's hard to implement a reliable undo/redo journalling for whole TrackContainerViews. Closes #531.
This commit is contained in:
@@ -223,7 +223,7 @@ void TrackContainerView::realignTracks()
|
||||
|
||||
void TrackContainerView::createTrackView( track * _t )
|
||||
{
|
||||
m_tc->addJournalCheckPoint();
|
||||
//m_tc->addJournalCheckPoint();
|
||||
|
||||
_t->createView( this );
|
||||
}
|
||||
@@ -233,7 +233,7 @@ void TrackContainerView::createTrackView( track * _t )
|
||||
|
||||
void TrackContainerView::deleteTrackView( trackView * _tv )
|
||||
{
|
||||
m_tc->addJournalCheckPoint();
|
||||
//m_tc->addJournalCheckPoint();
|
||||
|
||||
track * t = _tv->getTrack();
|
||||
removeTrackView( _tv );
|
||||
|
||||
Reference in New Issue
Block a user