From 64c9198d602a86cf584cf84157470edd1ee2caf0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 18 Jan 2016 10:52:15 -0500 Subject: add group disposition argument to Route::set_gain() and use it in various UIs Executive decisions were necessary in a couple of places about the correct group disposition behaviour, notably faderport and OSC surfaces --- gtk2_ardour/gain_meter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/gain_meter.cc') diff --git a/gtk2_ardour/gain_meter.cc b/gtk2_ardour/gain_meter.cc index 7fa9bf88de..5a2047cf73 100644 --- a/gtk2_ardour/gain_meter.cc +++ b/gtk2_ardour/gain_meter.cc @@ -532,7 +532,7 @@ GainMeterBase::gain_adjusted () if (!ignore_toggle) { if (_route && _route->amp() == _amp) { - _route->set_gain (value, this); + _route->set_gain (value, Controllable::UseGroup); } else { _amp->gain_control()->set_value (value, Controllable::NoGroup); } -- cgit v1.2.3