diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-11-28 19:32:41 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-11-28 19:32:41 +0000 |
commit | c73f4fde75f085171f9acb028e721b46c78632b7 (patch) | |
tree | f137e3fe44db367c700e82a9a4afb2ed9eb67a8c /gtk2_ardour/keyeditor.cc | |
parent | b8e300b36c1dc989e47b5e9b28848588e4dd2b20 (diff) |
parametize modifier key usage; fix keyboard-driven sync point setting; add ladspa whitelist to allow subset of plugins to be shown (hardcoded for now, but to expanded in the future)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2722 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/keyeditor.cc')
-rw-r--r-- | gtk2_ardour/keyeditor.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/keyeditor.cc b/gtk2_ardour/keyeditor.cc index a70a9e2ec0..8bf40b636d 100644 --- a/gtk2_ardour/keyeditor.cc +++ b/gtk2_ardour/keyeditor.cc @@ -1,5 +1,7 @@ #include <map> +#include <ardour/profile.h> + #include <gtkmm/stock.h> #include <gtkmm/accelkey.h> #include <gtkmm/accelmap.h> @@ -35,7 +37,7 @@ KeyEditor::KeyEditor () view.set_enable_search (false); view.set_rules_hint (true); view.set_name (X_("KeyEditorTree")); - + view.get_selection()->signal_changed().connect (mem_fun (*this, &KeyEditor::action_selected)); scroller.add (view); @@ -78,7 +80,7 @@ KeyEditor::on_key_press_event (GdkEventKey* ev) bool KeyEditor::on_key_release_event (GdkEventKey* ev) { - if (!can_bind || ev->state != last_state) { + if (ARDOUR::Profile->get_sae() || !can_bind || ev->state != last_state) { return false; } |