summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_selection.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2018-02-11 09:39:45 -0600
committerBen Loftis <ben@harrisonconsoles.com>2018-02-11 09:39:45 -0600
commit0299229e417ad6b8332ae3c9eafbf67a1c369727 (patch)
tree378fb89cc2c0a775a20fbdc732bbefd3818282aa /gtk2_ardour/editor_selection.cc
parente6da4c4846cd3097e2393f0e43016b870e7cf592 (diff)
SoloSelection: gui part.
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r--gtk2_ardour/editor_selection.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc
index 11d5310f77..02f44a93fc 100644
--- a/gtk2_ardour/editor_selection.cc
+++ b/gtk2_ardour/editor_selection.cc
@@ -1156,6 +1156,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 ()
{
/* XXX this is superficially inefficient. Hide the selection in all
@@ -1577,6 +1584,8 @@ Editor::region_selection_changed ()
}
}
+ if ( _session->solo_selection_active() )
+ play_solo_selection(false);
}
void