summaryrefslogtreecommitdiff
path: root/muse2/muse/song.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2013-09-01 20:29:28 +0200
committerFlorian Jung <flo@windfisch.org>2013-09-01 20:29:28 +0200
commit724f552586702a7189ac30553bcbcd0fed0e6f84 (patch)
tree0f5560f1f35d3181f1efd63de8c24056ef1fc5dc /muse2/muse/song.cpp
parent5043dec335ff43074e0cb7ece5d0635d2f430d4e (diff)
fixes
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);