Fix bug #5633, Don't drop all midi bindings when a track is removed
authorTim Mayberry <mojofunk@gmail.com>
Wed, 3 Feb 2016 12:23:55 +0000 (22:23 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Wed, 3 Feb 2016 12:30:41 +0000 (22:30 +1000)
commitdd05f1e257f8a715d23625bb725a727c57c4c0b6
tree1b10f0e0be820072aee5b9180a389fe42221edbf
parent07f8c04e2e4113df84d64c6ea7464569431e9820
Fix bug #5633, Don't drop all midi bindings when a track is removed

Only drop the controllable that is being destroyed, not all of them.
libs/surfaces/generic_midi/midicontrollable.cc
libs/surfaces/generic_midi/midicontrollable.h