Properly propagate TAV TimeSelection
[ardour.git] / gtk2_ardour / time_axis_view.cc
index 58c9d44bc52c99302b613ba325dc111d687561c9..b03a0c03bd3c4585f8898455fd1ff9ab20565176 100644 (file)
@@ -822,6 +822,9 @@ TimeAxisView::show_selection (TimeSelection& ts)
 
 
        for (Children::iterator i = children.begin(); i != children.end(); ++i) {
+               if (!(*i)->selected () && !(*i)->propagate_time_selection ()) {
+                       continue;
+               }
                (*i)->show_selection (ts);
        }
 
@@ -879,6 +882,9 @@ TimeAxisView::reshow_selection (TimeSelection& ts)
        show_selection (ts);
 
        for (Children::iterator i = children.begin(); i != children.end(); ++i) {
+               if (!(*i)->selected () && !(*i)->propagate_time_selection ()) {
+                       continue;
+               }
                (*i)->show_selection (ts);
        }
 }