Restore visible CC/etc automation tracks on session load.
[ardour.git] / gtk2_ardour / automation_time_axis.cc
index 07a47f274ea30f1de6763c4c16832b636bbe161d..7ef763c23524c8ef326394ba1e820a2f841661f4 100644 (file)
@@ -868,7 +868,7 @@ AutomationTimeAxisView::color_handler ()
 int
 AutomationTimeAxisView::set_state (const XMLNode& node)
 {
-       return TimeAxisView::set_state (node);
+       TimeAxisView::set_state (node);
        
        XMLNodeList kids;
        XMLNodeConstIterator iter;
@@ -894,6 +894,8 @@ AutomationTimeAxisView::set_state (const XMLNode& node)
 
        if (!_marked_for_display)
                hide();
+
+       return 0;
 }
 
 XMLNode*