mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +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
|
|
@ -251,9 +251,9 @@ void
|
||||||
LaunchControlXL::init_buttons (bool startup)
|
LaunchControlXL::init_buttons (bool startup)
|
||||||
{
|
{
|
||||||
reset(template_number());
|
reset(template_number());
|
||||||
|
|
||||||
if (startup) {
|
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);
|
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