diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-26 22:59:54 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-26 23:00:12 -0600 |
commit | 38c61b6dab3b1ae926ec4b791c1fa4dd04463664 (patch) | |
tree | 9b6949029d6531df135929eef033453266e7f383 /gtk2_ardour/ardour_ui_dialogs.cc | |
parent | 1983f56592dfea5f74983c3b7207f8c6e0ab7836 (diff) |
fix design and implementation of (GUI) transport controllables to make them usable with MIDI CC control
The old code meant that their current value was always zero, and that they would do nothing unless
the new value exceeded 0.5
Diffstat (limited to 'gtk2_ardour/ardour_ui_dialogs.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_dialogs.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc index dc71efef03..143d9bc4c9 100644 --- a/gtk2_ardour/ardour_ui_dialogs.cc +++ b/gtk2_ardour/ardour_ui_dialogs.cc @@ -163,6 +163,14 @@ ARDOUR_UI::set_session (Session *s) transport_masters_window->set_session (s); rc_option_editor->set_session (s); + roll_controllable->set_session (s); + stop_controllable->set_session (s); + goto_start_controllable->set_session (s); + goto_end_controllable->set_session (s); + auto_loop_controllable->set_session (s); + play_selection_controllable->set_session (s); + rec_controllable->set_session (s); + /* allow wastebasket flush again */ Glib::RefPtr<Action> act = ActionManager::get_action (X_("Main"), X_("FlushWastebasket")); |