fix: using arrow-keys on selected mixer strips would recursively affect grouped faders
authorBen Loftis <ben@harrisonconsoles.com>
Fri, 30 Sep 2016 15:52:46 +0000 (10:52 -0500)
committerBen Loftis <ben@harrisonconsoles.com>
Fri, 30 Sep 2016 15:52:46 +0000 (10:52 -0500)
gtk2_ardour/mixer_ui.cc

index 4c5317a389e3fe833691af1c0b14dd249b9489fd..98d6ae7b0e14687556590c64b6f3774eed4eb416 100644 (file)
@@ -2817,10 +2817,12 @@ Mixer_UI::step_gain_up_action ()
        set_axis_targets_for_operation ();
 
        BOOST_FOREACH(AxisView* r, _axis_targets) {
+               r->route()->set_mix_group_override(true);
                MixerStrip* ms = dynamic_cast<MixerStrip*> (r);
                if (ms) {
                        ms->step_gain_up ();
                }
+               r->route()->set_mix_group_override(false);
        }
 }
 
@@ -2830,10 +2832,12 @@ Mixer_UI::step_gain_down_action ()
        set_axis_targets_for_operation ();
 
        BOOST_FOREACH(AxisView* r, _axis_targets) {
+               r->route()->set_mix_group_override(true);
                MixerStrip* ms = dynamic_cast<MixerStrip*> (r);
                if (ms) {
                        ms->step_gain_down ();
                }
+               r->route()->set_mix_group_override(false);
        }
 }