diff options
author | Robin Gareus <robin@gareus.org> | 2019-12-05 23:40:29 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-12-05 23:40:29 +0100 |
commit | 6d99e1b1622dfc4e568dc6efc566a1192a3c123a (patch) | |
tree | 18b712ee01fc62b7b2aedeb20004a08a1d1f6827 /libs | |
parent | 65b6f39e214bfe228561c1c23a8fd4dc7bdcfdcc (diff) |
VKeybd: Set default MIDI port flags
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/port_manager.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/port_manager.cc b/libs/ardour/port_manager.cc index 8be1f7f7e9..d423ddbd74 100644 --- a/libs/ardour/port_manager.cc +++ b/libs/ardour/port_manager.cc @@ -1281,6 +1281,8 @@ PortManager::fill_midi_port_info_locked () if (port_is_control_only (*p)) { flags = MidiPortControl; + } else if (*p == _backend->my_name() + ":" + _("Virtual Keyboard")) { + flags = MidiPortFlags(MidiPortSelection | MidiPortMusic); } MidiPortInformation mpi (_backend->name(), *p, true, flags, true); |