summaryrefslogtreecommitdiff
path: root/muse2/muse/undo.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-06-05 22:05:16 +0000
committerFlorian Jung <flo@windfisch.org>2011-06-05 22:05:16 +0000
commite2e536eab73dc7d1e2294078628eea80ecf6d120 (patch)
treecabbb8d54c58e178a98fe62b898b2176f63f29f6 /muse2/muse/undo.cpp
parente7fa4482decd01231531eae9da73ecbad2b12094 (diff)
speeded up the arranger's part canvas
Diffstat (limited to 'muse2/muse/undo.cpp')
-rw-r--r--muse2/muse/undo.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/muse2/muse/undo.cpp b/muse2/muse/undo.cpp
index c57bb5c1..c5b211b2 100644
--- a/muse2/muse/undo.cpp
+++ b/muse2/muse/undo.cpp
@@ -480,6 +480,7 @@ void Song::doUndo2()
break;
case UndoOp::ModifyClip:
case UndoOp::ModifyMarker:
+ case UndoOp::DoNothing:
break;
}
}
@@ -716,6 +717,7 @@ void Song::doRedo2()
break;
case UndoOp::ModifyClip:
case UndoOp::ModifyMarker:
+ case UndoOp::DoNothing:
break;
}
}
@@ -725,6 +727,11 @@ UndoOp::UndoOp()
{
}
+UndoOp::UndoOp(UndoType type_)
+{
+ type = type_;
+}
+
UndoOp::UndoOp(UndoType type_, int a_, int b_, int c_)
{
type = type_;