Fix gain inc/dec with multiple-selection spanning groups
authorRobin Gareus <robin@gareus.org>
Sat, 8 Jul 2017 13:43:32 +0000 (15:43 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 8 Jul 2017 13:43:32 +0000 (15:43 +0200)
commit5fc037cbe937113d571ad1427635afd41f8e6f3d
tree08f42711b4ad8e84c61064872f60401737430165
parent82278af424461a9d966dc886302ceb24e775a32c
Fix gain inc/dec with multiple-selection spanning groups

When tracks in a gain-sharing group are selected, stepping gain
up/down affected the tracks N times:
   for-each selected track inc/dec gain w/grouping.

When a mix of grouped and un-grouped tracks is selected, this lead to
inconsistent gain changes.

The new approach expands the groups first. Ignoring groups is not correct
either for single selection.
gtk2_ardour/mixer_ui.cc
gtk2_ardour/mixer_ui.h