'libs/ardour' - Platform specific changes and includes
[ardour.git] / libs / ardour / automation_list.cc
index c9fcd841adc09222b79f26164b29921c112ee0ed..83df92488b02087b3adf6357992ffe57da0224de 100644 (file)
@@ -204,7 +204,7 @@ AutomationList::start_touch (double when)
 }
 
 void
-AutomationList::stop_touch (bool mark, double when)
+AutomationList::stop_touch (bool mark, double)
 {
        if (g_atomic_int_get (&_touching) == 0) {
                /* this touch has already been stopped (probably by Automatable::transport_stopped),
@@ -456,6 +456,7 @@ AutomationList::set_state (const XMLNode& node, int version)
                 if (_state == Write) {
                         _state = Off;
                 }
+               automation_state_changed(_state);
        } else {
                _state = Off;
        }