643342995d
This commit fixes an issue where if your controller was currently on a bank not near the first few tracks, and you then deleted tracks, the controller bank buttons would appear unresponsive because of the "if (initial >= sorted.size())" check in switch_banks(). This would occur when the difference between the _initial_bank and whatever sorted.size() returns was greater than or equal to strip_cnt. For example, if your _initial_bank was 48, your strip_cnt was 24 and you had 24 tracks after the deletion, then the above conditional would evaluate to true and exit out of switch_banks BEFORE actually switching the bank, effectively stranding the controller unless you added enough tracks back. |
||
---|---|---|
.. | ||
appleutility | ||
ardour | ||
ardouralsautil | ||
audiographer | ||
auscan | ||
backends | ||
canvas | ||
clearlooks-newer | ||
evoral | ||
fluidsynth | ||
fst | ||
gtkmm2ext | ||
hidapi | ||
libltc | ||
lua | ||
midi++2 | ||
panners | ||
pbd | ||
plugins | ||
ptformat | ||
qm-dsp | ||
surfaces | ||
temporal | ||
vamp-plugins | ||
vamp-pyin | ||
vfork | ||
vst3 | ||
waveview | ||
widgets | ||
zita-convolver | ||
zita-resampler |