mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Call switch_bank() and use button_track_mode() within it to init required LEDs
This commit is contained in:
parent
a9958840b0
commit
5276a9941b
1 changed files with 3 additions and 3 deletions
|
|
@ -253,7 +253,7 @@ LaunchControlXL::init_buttons (bool startup)
|
|||
reset(template_number());
|
||||
|
||||
if (startup) {
|
||||
button_track_mode(track_mode());
|
||||
switch_bank(bank_start);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -866,7 +866,7 @@ LaunchControlXL::switch_bank (uint32_t base)
|
|||
|
||||
|
||||
button_track_focus(n);
|
||||
update_track_control_led(n);
|
||||
button_track_mode(track_mode());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue