projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8de796
)
push2: connect pad port to selected MIDI at protocol startup
author
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 8 Jul 2016 21:46:35 +0000
(17:46 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 27 Sep 2016 19:59:30 +0000
(14:59 -0500)
libs/surfaces/push2/push2.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/push2/push2.cc
b/libs/surfaces/push2/push2.cc
index e37a2a35d27e1e5063cc485d28c795843b9e0309..13b35397236b06d470b3ef2eb7166928f0f556ab 100644
(file)
--- a/
libs/surfaces/push2/push2.cc
+++ b/
libs/surfaces/push2/push2.cc
@@
-691,6
+691,12
@@
Push2::set_active (bool yn)
switch_bank (0);
splash ();
+ /* catch current selection, if any */
+ {
+ StripableNotificationListPtr sp (new StripableNotificationList (ControlProtocol::last_selected()));
+ stripable_selection_change (sp);
+ }
+
} else {
stop ();