Fix save/load of MIDI automation state. Fixes #3354.
[ardour.git] / gtk2_ardour / automation_streamview.cc
index cdca5ec08ffa0b8aa180c10a6c3a5f9d6dcf50dc..27ee2ca08670d6e4087cf6af1c59751c7521ea99 100644 (file)
@@ -151,9 +151,7 @@ AutomationStreamView::display_region(AutomationRegionView* region_view)
 void
 AutomationStreamView::set_automation_state (AutoState state)
 {
-       /* XXX: not sure if this is right, but for now the automation state is basically held by
-          the regions' AutomationLists.  Each region is always set to have the same AutoState.
-       */
+       /* Setting the automation state for this view sets the state of all regions' lists to the same thing */
        
        if (region_views.empty()) {
                _pending_automation_state = state;