Skip to content

Commit

Permalink
Make "Clear this track" undoable
Browse files Browse the repository at this point in the history
Fixes #4375
  • Loading branch information
PhysSong committed May 28, 2018
1 parent daa3f53 commit 3e8120d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Track.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1813,6 +1813,7 @@ void TrackOperationsWidget::cloneTrack()
void TrackOperationsWidget::clearTrack()
{
Track * t = m_trackView->getTrack();
t->addJournalCheckPoint();
t->lock();
t->deleteTCOs();
t->unlock();
Expand Down

0 comments on commit 3e8120d

Please sign in to comment.