From 2b9525c9918345feeae92c6b7df1ac2cb09242ba Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 24 Feb 2017 22:53:30 +0100 Subject: try to make sure faderport shows the same strip as the editor mixer strip --- libs/surfaces/faderport/faderport.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'libs') diff --git a/libs/surfaces/faderport/faderport.cc b/libs/surfaces/faderport/faderport.cc index 3d5baa1348..5da4ecdd3c 100644 --- a/libs/surfaces/faderport/faderport.cc +++ b/libs/surfaces/faderport/faderport.cc @@ -1115,13 +1115,7 @@ FaderPort::Button::get_state () const void FaderPort::gui_track_selection_changed (StripableNotificationListPtr stripables) { - boost::shared_ptr r; - - if (!stripables->empty()) { - r = stripables->front().lock(); - } - - set_current_stripable (r); + set_current_stripable (ControlProtocol::first_selected_stripable()); } void -- cgit v1.2.3