summaryrefslogtreecommitdiff
path: root/muse2/muse/song.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/song.cpp')
-rw-r--r--muse2/muse/song.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/muse2/muse/song.cpp b/muse2/muse/song.cpp
index 7e6c08d0..f0b9984b 100644
--- a/muse2/muse/song.cpp
+++ b/muse2/muse/song.cpp
@@ -1647,6 +1647,7 @@ void Song::undo()
MusEGlobal::audio->msgRevertOperationGroup(opGroup);
+ redoList->push_back(opGroup);
undoList->pop_back();
MusEGlobal::redoAction->setEnabled(true);
@@ -1675,6 +1676,7 @@ void Song::redo()
MusEGlobal::audio->msgExecuteOperationGroup(opGroup);
+ undoList->push_back(opGroup);
redoList->pop_back();
MusEGlobal::undoAction->setEnabled(true);