SoloSelection: gui part.
[ardour.git] / gtk2_ardour / editor_selection.cc
index 11d5310f770b93ab9d884efd1d86889a319d2b87..02f44a93fc1857ac85d2b73f9bf455e63ef1e1be 100644 (file)
@@ -1155,6 +1155,13 @@ Editor::presentation_info_changed (PropertyChange const & what_changed)
        }
 }
 
+void
+Editor::track_selection_changed ()
+{
+       if ( _session->solo_selection_active() )
+               play_solo_selection(false);
+}
+
 void
 Editor::time_selection_changed ()
 {
@@ -1577,6 +1584,8 @@ Editor::region_selection_changed ()
                }
        }
 
+       if ( _session->solo_selection_active() )
+               play_solo_selection(false);
 }
 
 void