projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7454860
)
try to make sure faderport shows the same strip as the editor mixer strip
author
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 24 Feb 2017 21:53:30 +0000
(22:53 +0100)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 24 Feb 2017 21:54:25 +0000
(22:54 +0100)
libs/surfaces/faderport/faderport.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/faderport/faderport.cc
b/libs/surfaces/faderport/faderport.cc
index 3d5baa1348c1fefbf1116f3a73dcd2c3063e2658..5da4ecdd3c8cae8cae34c12ff7bb8199c568999a 100644
(file)
--- 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<Stripable> r;
-
- if (!stripables->empty()) {
- r = stripables->front().lock();
- }
-
- set_current_stripable (r);
+ set_current_stripable (ControlProtocol::first_selected_stripable());
}
void