summaryrefslogtreecommitdiff
path: root/libs/surfaces
diff options
context:
space:
mode:
authorLen Ovens <len@ovenwerks.net>2016-07-03 18:22:09 -0700
committerLen Ovens <len@ovenwerks.net>2016-07-03 18:22:09 -0700
commita373e4cfc80cfc1dc712ecdf8013c18286ce2a6b (patch)
treea9ecba3817e2a70cf5c94852fd19967009235b8d /libs/surfaces
parent402e9cb20d134e7803c33460d22c4330cfca66d2 (diff)
UI: Add editor_mixer route pointer to session so all UIs can know the same current_strip even in a selected group.
Diffstat (limited to 'libs/surfaces')
-rw-r--r--libs/surfaces/osc/osc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc
index a32e215290..57eb6c0f7a 100644
--- a/libs/surfaces/osc/osc.cc
+++ b/libs/surfaces/osc/osc.cc
@@ -2617,7 +2617,7 @@ OSC::gui_selection_changed (StripableNotificationListPtr stripables)
boost::shared_ptr<Stripable> strip;
if (!stripables->empty()) {
- strip = stripables->front().lock();
+ strip = boost::dynamic_pointer_cast<Stripable>(session->get_editor_mixer().lock());
}
if (strip) {
for (uint32_t it = 0; it < _surface.size(); ++it) {