13
0

Fix send UI fader (#3708)

git-svn-id: svn://localhost/ardour2/branches/3.0@8506 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-01-13 19:43:31 +00:00
parent 169ad5b019
commit db847eea33

View File

@ -398,8 +398,7 @@ void
GainMeterBase::gain_adjusted ()
{
if (!ignore_toggle) {
if (_route) {
if (_route->amp() == _amp) {
if (_route && _route->amp() == _amp) {
if (_is_midi) {
_route->set_gain (gain_adjustment.get_value(), this);
} else {
@ -409,7 +408,6 @@ GainMeterBase::gain_adjusted ()
_amp->set_gain (slider_position_to_gain (gain_adjustment.get_value()), this);
}
}
}
show_gain ();
}