Add API to run automation only (emit Changed signal).
[ardour.git] / libs / ardour / automation_list.cc
index 8ceab4f3ea84dcc0e13fc40d3e34fb64b08df85e..27bc64462e336debfbff88ed283e38c201a62d3d 100644 (file)
@@ -167,13 +167,14 @@ AutomationList&
 AutomationList::operator= (const AutomationList& other)
 {
        if (this != &other) {
-
+               ControlList::freeze ();
+               /* ControlList::operator= calls copy_events() which calls
+                * mark_dirty() and maybe_signal_changed()
+                */
                ControlList::operator= (other);
                _state = other._state;
                _touching = other._touching;
-
-               mark_dirty ();
-               maybe_signal_changed ();
+               ControlList::thaw ();
        }
 
        return *this;