diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-10-08 18:41:59 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-10-08 18:41:59 +0000 |
commit | 7d2cd8ed5c86a6a799c804df42476dbc16ed3932 (patch) | |
tree | e0b01d7acc934e2d62659dc4ec0026457e45ac5e /gtk2_ardour/mixer_strip.cc | |
parent | ba0458cf1f6c69366e89631d8fff916ad183d768 (diff) |
don't allow mixer strip input buttons to change input while recording (from colinf)
git-svn-id: svn://localhost/ardour2/branches/3.0@7888 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r-- | gtk2_ardour/mixer_strip.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 470e483f56..ec4111bc6e 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -784,6 +784,9 @@ MixerStrip::input_press (GdkEventButton *ev) return true; } + if (_session->actively_recording() && _route->record_enabled()) + return true; + switch (ev->button) { case 1: |