push2: connect pad port to selected MIDI at protocol startup

This commit is contained in:
Paul Davis 2016-07-08 17:46:35 -04:00
parent d8de7962ca
commit c13e568ee8

View file

@ -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 ();