summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorDoug McLain <doug@nostar.net>2008-02-23 02:58:03 +0000
committerDoug McLain <doug@nostar.net>2008-02-23 02:58:03 +0000
commit40f1d29f0200e32cdf4ec192527d622552ccfa5a (patch)
tree2a990fb6eedb05012be1cd37b99258cc40d21b09 /gtk2_ardour
parent0aabd293ba163c97bc2d73225782a53719ede02b (diff)
Fix the stepping direction for horizontal faders, it was stepping in the wrong direction, and comment the line that
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3113 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/redirect_box.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/redirect_box.cc b/gtk2_ardour/redirect_box.cc
index bc2d1e6341..0c72263de1 100644
--- a/gtk2_ardour/redirect_box.cc
+++ b/gtk2_ardour/redirect_box.cc
@@ -402,7 +402,9 @@ RedirectBox::insert_plugin_chosen (boost::shared_ptr<Plugin> plugin)
if (_route->add_redirect (redirect, this, &err_streams)) {
weird_plugin_dialog (*plugin, err_streams, _route);
} else {
- redirect->set_active (true, 0);
+ if (Profile->get_sae()) {
+ redirect->set_active (true, 0);
+ }
redirect->active_changed.connect (bind (mem_fun (*this, &RedirectBox::show_redirect_active_r), boost::weak_ptr<Redirect>(redirect)));
}
}