mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
mark loop button insensitive when there's no loop-range
This commit is contained in:
parent
487ae58301
commit
0092442a64
4 changed files with 12 additions and 3 deletions
|
|
@ -848,7 +848,15 @@ ARDOUR_UI::error_blink (bool onoff)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ARDOUR_UI::set_loop_sensitivity ()
|
||||
{
|
||||
if (!_session || _session->config.get_external_sync()) {
|
||||
auto_loop_button.set_sensitive (false);
|
||||
} else {
|
||||
auto_loop_button.set_sensitive (_session && _session->locations()->auto_loop_location());
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
ARDOUR_UI::set_transport_sensitivity (bool yn)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue