diff options
Diffstat (limited to 'libs/ardour/audioregion.cc')
-rw-r--r-- | libs/ardour/audioregion.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/audioregion.cc b/libs/ardour/audioregion.cc index 25948e595c..5743bae935 100644 --- a/libs/ardour/audioregion.cc +++ b/libs/ardour/audioregion.cc @@ -655,6 +655,14 @@ AudioRegion::set_live_state (const XMLNode& node, Change& what_changed, bool sen _flags = Flag (_flags & ~Region::RightOfSplit); } + /* leave this flag setting in place, no matter what */ + + if ((old_flags & DoNotSendPropertyChanges)) { + _flags = Flag (_flags | DoNotSendPropertyChanges); + } + + /* find out if any flags changed that we signal about */ + if ((old_flags ^ _flags) & Muted) { what_changed = Change (what_changed|MuteChanged); } |