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:
Tobias Doerffel
2014-03-30 12:40:05 +02:00
parent 75d8ab54be
commit d6efd028e1

View File

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