summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse/muse/wavetrack.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/muse/muse/wavetrack.cpp b/muse/muse/wavetrack.cpp
index 14f2ef4a..ae269f52 100644
--- a/muse/muse/wavetrack.cpp
+++ b/muse/muse/wavetrack.cpp
@@ -156,6 +156,7 @@ void WaveTrack::read(QDomNode node)
QDomElement e = node.toElement();
if (e.tagName() == "part") {
Part* p = newPart();
+ p->ref();
p->read(node);
parts()->add(p);
}