Emit a single change when changing track selection in the mixer.
authorRobin Gareus <robin@gareus.org>
Sat, 27 Jan 2018 19:51:32 +0000 (20:51 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 27 Jan 2018 19:51:32 +0000 (20:51 +0100)
commit0423247dd7172167e72315ff03d132c05d858627
tree7eee17d08d16dd1e3ddbacea424a44a7edb4bc6a
parenta314ff42b0f9aa68561be428dd070d75c41d6074
Emit a single change when changing track selection in the mixer.

Previously changing track-selection emitted 2 "stripable_selection_changed"
events: select (nil); select (new).

This fixes an issue with the FaderPort ctrl surface when editing plugins:
Switching from one track to another follows selection, but if no track is
selected, the FP switches from "Edit Plugins" to "Track" mode.
gtk2_ardour/route_processor_selection.cc