diff options
Diffstat (limited to 'muse2/muse/part.cpp')
-rw-r--r-- | muse2/muse/part.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/muse2/muse/part.cpp b/muse2/muse/part.cpp index 9b869567..c46e7ab9 100644 --- a/muse2/muse/part.cpp +++ b/muse2/muse/part.cpp @@ -81,10 +81,11 @@ void Part::chainClone(Part* p) void Part::rechainClone() { - assert(_backupClone); - - this->chainClone(_backupClone); - _backupClone = NULL; + if(_backupClone) + { + this->chainClone(_backupClone); + _backupClone = NULL; + } } bool Part::isCloneOf(const Part* other) const |