summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse/muse/arranger/arranger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse/muse/arranger/arranger.cpp b/muse/muse/arranger/arranger.cpp
index eef7f20f..42f1a473 100644
--- a/muse/muse/arranger/arranger.cpp
+++ b/muse/muse/arranger/arranger.cpp
@@ -585,7 +585,7 @@ void Arranger::removeTrack(Track* t)
at->tw = 0;
for (iArrangerTrack i = t->subtracks.begin(); i != t->subtracks.end(); ++i) {
- ArrangerTrack* at = &t->arrangerTrack;
+ ArrangerTrack* at = *i;
tl->removeWidget(at->tw);
at->tw->close();
}