make RouteGroup gain control work again ; fix what solo button label shows under different conditions; other miscellania

git-svn-id: svn://localhost/ardour2/branches/3.0@5262 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2009-06-23 20:02:15 +00:00
parent d45dfa5cb6
commit d13fdaa9d1
10 changed files with 85 additions and 65 deletions

View file

@ -371,12 +371,12 @@ GainMeterBase::show_gain ()
void
GainMeterBase::gain_adjusted ()
{
//cerr << this << " for " << _io->name() << " GAIN ADJUSTED\n";
if (!ignore_toggle) {
//cerr << "Set GC\n";
_gain_control->set_value (slider_position_to_gain (gain_adjustment.get_value()));
//cerr << "Set GC OUT\n";
if (_route) {
_route->set_gain (slider_position_to_gain (gain_adjustment.get_value()), this);
}
}
show_gain ();
}