summaryrefslogtreecommitdiff
path: root/muse2/muse/remote
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2013-08-28 00:49:49 +0200
committerFlorian Jung <flo@windfisch.org>2013-08-28 00:50:24 +0200
commitc5e6fd0f6dfbf18847b601668ba8c657d776da31 (patch)
tree32ce317253bb39b0928b521c33007f39cabd150d /muse2/muse/remote
parent3c1ae69c8e4a679588d0db4886f21e150bae572e (diff)
operations are now replicated for all clones. minor cleanups.
it compiles and seems to work again! :)
Diffstat (limited to 'muse2/muse/remote')
-rw-r--r--muse2/muse/remote/pyapi.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/muse2/muse/remote/pyapi.cpp b/muse2/muse/remote/pyapi.cpp
index 7d03e36b..8f5abe06 100644
--- a/muse2/muse/remote/pyapi.cpp
+++ b/muse2/muse/remote/pyapi.cpp
@@ -1131,9 +1131,7 @@ bool Song::event(QEvent* _e)
break;
}
case QPybridgeEvent::SONG_ADD_TRACK: {
- MusECore::Undo operations;
- MusEGlobal::song->addTrack(operations, (Track::TrackType)e->getP1()); // Add at end of list.
- MusEGlobal::song->applyOperationGroup(operations);
+ MusEGlobal::song->addTrack((Track::TrackType)e->getP1()); // Add at end of list.
break;
}
case QPybridgeEvent::SONG_CHANGE_TRACKNAME: {