From c13e568ee8fdb64ae06c70a2996a267fc90613f8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 8 Jul 2016 17:46:35 -0400 Subject: [PATCH] push2: connect pad port to selected MIDI at protocol startup --- libs/surfaces/push2/push2.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/surfaces/push2/push2.cc b/libs/surfaces/push2/push2.cc index e37a2a35d2..13b3539723 100644 --- 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 ();