diff options
author | Florian Jung <flo@windfisch.org> | 2013-09-01 15:47:38 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2013-09-01 15:47:38 +0200 |
commit | 5043dec335ff43074e0cb7ece5d0635d2f430d4e (patch) | |
tree | c892804b701ce62ed882c13a40f62a994c6b5476 /muse2/muse/synth.cpp | |
parent | 2f26bcd6a94124721d8c946f55d3f360147f1f58 (diff) |
replaced some SEQM_... by OpGroups. Cleanup.
Diffstat (limited to 'muse2/muse/synth.cpp')
-rw-r--r-- | muse2/muse/synth.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/muse2/muse/synth.cpp b/muse2/muse/synth.cpp index d8d09048..32568e31 100644 --- a/muse2/muse/synth.cpp +++ b/muse2/muse/synth.cpp @@ -696,11 +696,7 @@ SynthI* Song::createSynthI(const QString& sclass, const QString& label, Synth::T int idx = insertAt ? _tracks.index(insertAt) : -1; - insertTrack1(si, idx); - - msgInsertTrack(si, idx, true); // add to instance list - - insertTrack3(si, idx); + MusEGlobal::song->applyOperation(UndoOp(UndoOp::AddTrack, idx, si)); OutputList* ol = MusEGlobal::song->outputs(); // add default route to master (first audio output) |