mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-31 10:57:43 +01:00
Console1: another attempt to fix uncaught exeptions
This commit is contained in:
parent
85d9e333c9
commit
61ec873481
2 changed files with 18 additions and 6 deletions
|
|
@ -583,9 +583,13 @@ Console1::map_mute ()
|
|||
DEBUG_TRACE (DEBUG::Console1, "Console1::map_mute ...\n");
|
||||
if (_current_stripable) {
|
||||
if (_current_stripable->mute_control ()->muted ()) {
|
||||
get_button (swap_solo_mute ? SOLO : MUTE)->set_led_state (true);
|
||||
try {
|
||||
get_button (swap_solo_mute ? SOLO : MUTE)->set_led_state (true);
|
||||
} catch (ControlNotFoundException const&) {
|
||||
DEBUG_TRACE (DEBUG::Console1, "solo/mute button not found\n");
|
||||
}
|
||||
} else if (_current_stripable->mute_control ()->muted_by_others_soloing () ||
|
||||
_current_stripable->mute_control ()->muted_by_masters ()) {
|
||||
_current_stripable->mute_control ()->muted_by_masters ()) {
|
||||
|
||||
DEBUG_TRACE (DEBUG::Console1, "Console1::map_mute start blinking\n");
|
||||
start_blinking (swap_solo_mute ? SOLO : MUTE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue