summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Schweer <ws.seh.de>2006-10-05 11:13:19 +0000
committerWerner Schweer <ws.seh.de>2006-10-05 11:13:19 +0000
commit4524e9a40ab1f33413d27f24ebb00d24568ed3a5 (patch)
tree80eb065688c913b4c4c230ece29cc552992091d7
parentd7bb9793f112db0087a2d402685d0f07566d9491 (diff)
fix crash in arranger when deleting track with open controller subtracks
-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();
}