desensitize almost everything in a mixer strip when displaying send(s), to avoid user confusion about what can and cannot be modified

git-svn-id: svn://localhost/ardour2/branches/3.0@8609 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-01-29 15:28:58 +00:00
parent 314f0d91d3
commit 6ffc443eaa
3 changed files with 30 additions and 0 deletions

View file

@ -1822,3 +1822,11 @@ RouteUI::invert_menu_toggled (uint32_t c)
_route->set_phase_invert (c, !_route->phase_invert (c));
}
void
RouteUI::set_invert_sensitive (bool yn)
{
for (list<BindableToggleButton*>::iterator b = _invert_buttons.begin(); b != _invert_buttons.end(); ++b) {
(*b)->set_sensitive (yn);
}
}