Pattern: add undo/redo support for "Clear all notes" operation in context menu

Simply add a journal checkpoint before clearing pattern.
This commit is contained in:
Tobias Doerffel
2014-07-16 23:46:47 +02:00
parent a12774f50d
commit 7b279d3f85

View File

@@ -422,6 +422,7 @@ void pattern::loadSettings( const QDomElement & _this )
void pattern::clear()
{
addJournalCheckPoint();
clearNotes();
ensureBeatNotes();
}