mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
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. |
||
|---|---|---|
| .. | ||
| cc121 | ||
| contourdesign | ||
| control_protocol | ||
| faderport | ||
| faderport8 | ||
| frontier | ||
| generic_midi | ||
| launch_control_xl | ||
| mackie | ||
| maschine2 | ||
| osc | ||
| push2 | ||
| tranzport | ||
| us2400 | ||
| websockets | ||
| wiimote | ||
| wscript | ||